Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,4 +34,5 @@ def upload_audio():
|
|
| 34 |
return jsonify({"error": str(e)}), 500
|
| 35 |
|
| 36 |
if __name__ == '__main__':
|
| 37 |
-
|
|
|
|
|
|
| 34 |
return jsonify({"error": str(e)}), 500
|
| 35 |
|
| 36 |
if __name__ == '__main__':
|
| 37 |
+
port = int(os.environ.get("PORT", 7860))
|
| 38 |
+
app.run(debug=True,, host="0.0.0.0", port=port)
|