Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -76,5 +76,5 @@ def predict():
|
|
76 |
|
77 |
if __name__ == "__main__":
|
78 |
import os
|
79 |
-
port = int(os.environ.get("PORT", 7860)) # Default to
|
80 |
app.run(host='0.0.0.0', port=port, debug=True)
|
|
|
76 |
|
77 |
if __name__ == "__main__":
|
78 |
import os
|
79 |
+
port = int(os.environ.get("PORT", 7860)) # Default to 7860 if not set
|
80 |
app.run(host='0.0.0.0', port=port, debug=True)
|