Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -82,6 +82,7 @@ def generate(URL, query):
|
|
82 |
loader = DataFrameLoader(cleaned_reviews, page_content_column="comment")
|
83 |
documents = loader.load()
|
84 |
except Exception as e:
|
|
|
85 |
raise gr.Error("Error getting reviews: " + str(e))
|
86 |
else:
|
87 |
# Split text
|
|
|
82 |
loader = DataFrameLoader(cleaned_reviews, page_content_column="comment")
|
83 |
documents = loader.load()
|
84 |
except Exception as e:
|
85 |
+
print(e)
|
86 |
raise gr.Error("Error getting reviews: " + str(e))
|
87 |
else:
|
88 |
# Split text
|