kensvin commited on
Commit
0f1ffcf
1 Parent(s): 3e3cee1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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