1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-04 07:52:46 +08:00

Update colab notebook.

This commit is contained in:
comfyanonymous
2023-02-25 22:49:22 -05:00
parent dfb397e034
commit c0fb0c848f
3 changed files with 58 additions and 52 deletions

View File

@@ -190,7 +190,7 @@ class PromptServer():
msg = await self.messages.get()
await self.send(*msg)
async def start(self, address, port):
async def start(self, address, port, verbose=True):
runner = web.AppRunner(self.app)
await runner.setup()
site = web.TCPSite(runner, address, port)
@@ -198,5 +198,6 @@ class PromptServer():
if address == '':
address = '0.0.0.0'
print("Starting server\n")
print("To see the GUI go to: http://{}:{}".format(address, port))
if verbose:
print("Starting server\n")
print("To see the GUI go to: http://{}:{}".format(address, port))