Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ def proxy_image(filename):
|
|
| 68 |
except Exception as e:
|
| 69 |
return jsonify({"error": str(e)}), 500
|
| 70 |
|
| 71 |
-
|
| 72 |
if __name__ == '__main__':
|
| 73 |
# Get port from environment variable or use 7860 as default
|
| 74 |
port = int(os.environ.get('PORT', 7860))
|
|
|
|
| 68 |
except Exception as e:
|
| 69 |
return jsonify({"error": str(e)}), 500
|
| 70 |
|
| 71 |
+
#new
|
| 72 |
if __name__ == '__main__':
|
| 73 |
# Get port from environment variable or use 7860 as default
|
| 74 |
port = int(os.environ.get('PORT', 7860))
|