mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 21:45:00 +03:00
bugfix: delete colab
This commit is contained in:
parent
95586403c8
commit
5f41d8100d
@ -184,15 +184,6 @@ if __name__ == '__main__':
|
||||
ssl_certfile=cert_path,
|
||||
# log_level="warning"
|
||||
)
|
||||
else:
|
||||
# HTTP サーバ起動
|
||||
if args.colab == True:
|
||||
uvicorn.run(
|
||||
f"{os.path.basename(__file__)[:-3]}:app_fastapi",
|
||||
host="0.0.0.0",
|
||||
port=int(PORT),
|
||||
log_level="warning"
|
||||
)
|
||||
else:
|
||||
p = mp.Process(name="p", target=localServer)
|
||||
p.start()
|
||||
|
Loading…
Reference in New Issue
Block a user