Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,8 +64,8 @@ def search_reviews(df, product_description, n=3, pprint=True):
|
|
| 64 |
print()
|
| 65 |
return results,product
|
| 66 |
|
| 67 |
-
prompt = input("What do you want to search for? : ")
|
| 68 |
-
top_n = int(input("How many results do you want to see? : "))
|
| 69 |
print()
|
| 70 |
results,product = search_reviews(df, prompt, top_n)
|
| 71 |
|
|
|
|
| 64 |
print()
|
| 65 |
return results,product
|
| 66 |
|
| 67 |
+
prompt = st.input("What do you want to search for? : ")
|
| 68 |
+
top_n = int(st.input("How many results do you want to see? : "))
|
| 69 |
print()
|
| 70 |
results,product = search_reviews(df, prompt, top_n)
|
| 71 |
|