This commit is contained in:
yumoqing 2024-08-04 18:50:57 +08:00
parent b405f84d7d
commit b2d9b7f293

View File

@ -34,7 +34,7 @@ if __name__ == '__main__':
rf.register('generate', generate) rf.register('generate', generate)
info(f'{rf.registKW=}') info(f'{rf.registKW=}')
g = ServerEnv() g = ServerEnv()
g.whisper_model = WhisperBase64() g.whisper_engine = WhisperBase64()
port = args.port or config.website.port or 8080 port = args.port or config.website.port or 8080
port = int(port) port = int(port)
server.run(port=port) server.run(port=port)