mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
add tts-server executable
This makes the project easier to use when installing via package manager.
This commit is contained in:
+5
-1
@@ -76,5 +76,9 @@ def tts():
|
||||
return send_file(data, mimetype='audio/wav')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
def main():
|
||||
app.run(debug=args.debug, host='0.0.0.0', port=args.port)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user