Update subgen.py

This commit is contained in:
McCloudS
2023-02-02 10:40:45 -07:00
committed by GitHub
parent 48ce58b0f0
commit b35f314f7b

View File

@@ -137,4 +137,4 @@ if os.path.isfile("/whisper.cpp/samples/jfk.wav"): # delete the sample file, so
#subprocess.call("make " + whisper_model, shell=True)
print("Starting webhook!")
if __name__ == "__main__":
app.run(debug=True, host='0.0.0.0', port=int(webhookport))
app.run(debug=False, host='0.0.0.0', port=int(webhookport))