Update app.py
Browse files
app.py
CHANGED
|
@@ -225,4 +225,6 @@ def stream_results():
|
|
| 225 |
|
| 226 |
if __name__ == '__main__':
|
| 227 |
init_asr()
|
| 228 |
-
|
|
|
|
|
|
|
|
|
| 225 |
|
| 226 |
if __name__ == '__main__':
|
| 227 |
init_asr()
|
| 228 |
+
# Port numarasını ortam değişkeninden al, varsayılan 7860
|
| 229 |
+
port = int(os.environ.get('PORT', 7860))
|
| 230 |
+
app.run(host='0.0.0.0', port=port, threaded=True)
|