Spaces:
Sleeping
Sleeping
Update app.py
Browse files34 unmodified lines353637383938394034 unmodified lines print(f"Error: {e}") return jsonify({"error": "An error occurred while processing your request."}), 500
if __name__ == "__main__": app.run(host="0.0.0.0", port=7860)if __name__ == '__main__': port = int(os.environ.get('PORT', 7860)) app.run(host='0.0.0.0', port=port)app.py+3-2