Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,9 +88,9 @@ try:
|
|
| 88 |
rag_pipeline.connect("prompt_builder", "llm")
|
| 89 |
|
| 90 |
# Exception handling to catch and display errors during the pipeline execution.
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
|
| 95 |
def get_movies(message, history):
|
| 96 |
|
|
|
|
| 88 |
rag_pipeline.connect("prompt_builder", "llm")
|
| 89 |
|
| 90 |
# Exception handling to catch and display errors during the pipeline execution.
|
| 91 |
+
except Exception as e:
|
| 92 |
+
print("An error occurred: \n" + error_message)
|
| 93 |
+
|
| 94 |
|
| 95 |
def get_movies(message, history):
|
| 96 |
|