Spaces:
Sleeping
Sleeping
fix bug
Browse files
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(
|
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
|