Spaces:
Paused
Paused
Fixed error bug
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def generate_journal_suggestion(current_page):
|
|
| 34 |
return suggestion_response
|
| 35 |
|
| 36 |
except Exception as e:
|
| 37 |
-
return
|
| 38 |
|
| 39 |
@app.route("/", methods=["POST", "GET"])
|
| 40 |
def home():
|
|
|
|
| 34 |
return suggestion_response
|
| 35 |
|
| 36 |
except Exception as e:
|
| 37 |
+
return f"Error: {str(e)}"
|
| 38 |
|
| 39 |
@app.route("/", methods=["POST", "GET"])
|
| 40 |
def home():
|