mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-26 00:17:41 +01:00
fix default port
This commit is contained in:
parent
3e003d3b42
commit
aa8de64aa4
@ -5186,7 +5186,7 @@ def send_debug():
|
|||||||
#==================================================================#
|
#==================================================================#
|
||||||
print("", end="", flush=True)
|
print("", end="", flush=True)
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
port = args.port if "port" in args else 5000
|
port = args.port if "port" in args and args.port is not None else 5000
|
||||||
print("{0}\nStarting webserver...{1}".format(colors.GREEN, colors.END), flush=True)
|
print("{0}\nStarting webserver...{1}".format(colors.GREEN, colors.END), flush=True)
|
||||||
|
|
||||||
# Start Flask/SocketIO (Blocking, so this must be last method!)
|
# Start Flask/SocketIO (Blocking, so this must be last method!)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user