This commit is contained in:
yumoqing 2024-08-06 16:04:57 +08:00
parent 76d3694fa6
commit fb599c0e82

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_engine = WhisperBase64() g.whisper_engine = WhisperFile()
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)