Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -947,7 +947,7 @@ async def main():
|
|
947 |
loop.add_signal_handler(signal.SIGTERM, stop.set_result, None)
|
948 |
|
949 |
port = int(os.environ.get("PORT", "7860"))
|
950 |
-
async with websockets.serve(handler, "0.0.0.0", port
|
951 |
await stop
|
952 |
|
953 |
|
|
|
947 |
loop.add_signal_handler(signal.SIGTERM, stop.set_result, None)
|
948 |
|
949 |
port = int(os.environ.get("PORT", "7860"))
|
950 |
+
async with websockets.serve(handler, "0.0.0.0", port):
|
951 |
await stop
|
952 |
|
953 |
|