Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,6 +62,7 @@ def chat():
|
|
| 62 |
return jsonify({'response': result})
|
| 63 |
except Exception as e:
|
| 64 |
#st.write("Wrong URL or URL not parsable.")
|
|
|
|
| 65 |
err_msg="Wrong URL or URL not parsable."
|
| 66 |
return jsonify({'response': err_msg})
|
| 67 |
|
|
|
|
| 62 |
return jsonify({'response': result})
|
| 63 |
except Exception as e:
|
| 64 |
#st.write("Wrong URL or URL not parsable.")
|
| 65 |
+
print(err_msg)
|
| 66 |
err_msg="Wrong URL or URL not parsable."
|
| 67 |
return jsonify({'response': err_msg})
|
| 68 |
|