add tts-server executable

This makes the project easier to use when installing via package manager.
This commit is contained in:
Jörg Thalheim
2020-06-16 22:13:24 +01:00
parent f3d4d1f831
commit 82f8e9cb12
2 changed files with 10 additions and 1 deletions
+5 -1
View File
@@ -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()