Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,9 +61,9 @@ def chat():
|
|
| 61 |
#st.write(result)
|
| 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 |
|
| 69 |
#initial_response = llm_chain.run(user_query)
|
|
|
|
| 61 |
#st.write(result)
|
| 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 |
+
print(err_msg)
|
| 67 |
return jsonify({'response': err_msg})
|
| 68 |
|
| 69 |
#initial_response = llm_chain.run(user_query)
|