kensvin commited on
Commit
5425a02
1 Parent(s): 2577f1f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ async def generate(URL, query):
103
  if URL != cache_URL:
104
  # Get reviews
105
  try:
106
- reviews = scrape(URL)
107
  # Clean reviews
108
  cleaned_reviews = clean(reviews)
109
  # Load data
 
103
  if URL != cache_URL:
104
  # Get reviews
105
  try:
106
+ reviews = scrape(product_id)
107
  # Clean reviews
108
  cleaned_reviews = clean(reviews)
109
  # Load data