Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,6 +74,8 @@ def export_word():
|
|
| 74 |
return send_file(filename, as_attachment=True)
|
| 75 |
except Exception as e:
|
| 76 |
return jsonify({"error": str(e)}), 500
|
| 77 |
-
|
|
|
|
|
|
|
| 78 |
if __name__ == "__main__":
|
| 79 |
app.run(host="0.0.0.0", port=7860)
|
|
|
|
| 74 |
return send_file(filename, as_attachment=True)
|
| 75 |
except Exception as e:
|
| 76 |
return jsonify({"error": str(e)}), 500
|
| 77 |
+
@app.route("/")
|
| 78 |
+
def index():
|
| 79 |
+
return "✅ UniSolve backend is running. Visit via the proper frontend."
|
| 80 |
if __name__ == "__main__":
|
| 81 |
app.run(host="0.0.0.0", port=7860)
|