MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / getIPConfig

Function getIPConfig

ui/easydiffusion/app.py:310–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308
309
310def getIPConfig():
311 try:
312 ips = socket.gethostbyname_ex(socket.gethostname())
313 ips[2].append(ips[0])
314 return ips[2]
315 except Exception as e:
316 log.exception(e)
317 return []
318
319
320def open_browser():

Callers

nothing calls this directly

Calls 2

appendMethod · 0.80
exceptionMethod · 0.80

Tested by

no test coverage detected