mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 04:17:52 +00:00
test socketio
This commit is contained in:
parent
88fdf92e5f
commit
e334253815
5
app.py
5
app.py
@ -1011,5 +1011,6 @@ if __name__ == "__main__":
|
|||||||
else:
|
else:
|
||||||
print("debug mode:false")
|
print("debug mode:false")
|
||||||
|
|
||||||
http_server = WSGIServer((config["host"], config["port"]), app, handler_class=WebSocketHandler)
|
socketio.run(app, host=config["host"], port=config["port"])
|
||||||
http_server.serve_forever()
|
# http_server = WSGIServer((config["host"], config["port"]), app, handler_class=WebSocketHandler)
|
||||||
|
# http_server.serve_forever()
|
||||||
|
Loading…
Reference in New Issue
Block a user