Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def helper_func(text):
|
|
60 |
print('ran similarity')
|
61 |
spicy_df = pd.DataFrame(spicy_candidates, columns = ["Spicy ingredient", "spiciness"]).iloc[::-1]
|
62 |
print('in between')
|
63 |
-
top_df = pd.DataFrame(most_similar, columns = ["Top ingredient"
|
64 |
print('made dataframes')
|
65 |
return spicy_df, top_df
|
66 |
|
|
|
60 |
print('ran similarity')
|
61 |
spicy_df = pd.DataFrame(spicy_candidates, columns = ["Spicy ingredient", "spiciness"]).iloc[::-1]
|
62 |
print('in between')
|
63 |
+
top_df = pd.DataFrame(most_similar, columns = ["Top ingredient"])
|
64 |
print('made dataframes')
|
65 |
return spicy_df, top_df
|
66 |
|