mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 02:39:47 +00:00
bugfix, added serveforever
This commit is contained in:
parent
49bc2ef95b
commit
858b9b418a
10
app.py
10
app.py
@ -630,8 +630,8 @@ if __name__ == "__main__":
|
||||
print("debug mode:false")
|
||||
|
||||
http_server = WSGIServer((config["host"], config["port"]), app, handler_class=WebSocketHandler)
|
||||
|
||||
# if config["debug"]:
|
||||
# app.run(debug=True, host=config["host"], port=config["port"])
|
||||
# else:
|
||||
# app.run(host=config["host"], port=config["port"])
|
||||
http_server.serve_forever()
|
||||
#if config["debug"]:
|
||||
# app.run(debug=True, host=config["host"], port=config["port"])
|
||||
#else:
|
||||
# app.run(host=config["host"], port=config["port"])
|
||||
|
Loading…
Reference in New Issue
Block a user