This commit is contained in:
yumoqing 2024-08-03 19:11:31 +08:00
parent 4b6de15a04
commit 30d708d017

View File

@ -32,6 +32,7 @@ if __name__ == '__main__':
server = ConfiguredServer(workdir=workdir) server = ConfiguredServer(workdir=workdir)
rf = RegisterFunction() rf = RegisterFunction()
rf.register('generate', generate) rf.register('generate', generate)
info(f'{rf.registKW=}')
g = ServerEnv() g = ServerEnv()
g.whisper_model = WhisperBase64() g.whisper_model = WhisperBase64()
port = args.port or config.website.port or 8080 port = args.port or config.website.port or 8080