Spaces:
Runtime error
Runtime error
Commit
·
3b41222
1
Parent(s):
30dea58
remove URL
Browse files- app.py +1 -1
- requirements.txt +1 -3
app.py
CHANGED
@@ -24,7 +24,7 @@ def get_recipe_data(recipe_url):
|
|
24 |
response = requests.request("POST", rapid_api_url,
|
25 |
data=recipe_url, headers=headers).json()
|
26 |
|
27 |
-
print(response)
|
28 |
|
29 |
instructions_list = response[0]['instructions'][0]['steps']
|
30 |
ingredients_list = response[0]['ingredients']
|
|
|
24 |
response = requests.request("POST", rapid_api_url,
|
25 |
data=recipe_url, headers=headers).json()
|
26 |
|
27 |
+
# print(response)
|
28 |
|
29 |
instructions_list = response[0]['instructions'][0]['steps']
|
30 |
ingredients_list = response[0]['ingredients']
|
requirements.txt
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
gradio==3.0.24
|
2 |
python-decouple==3.6
|
3 |
requests==2.28.1
|
4 |
-
spacy==3.3.1
|
5 |
-
|
6 |
-
https://huggingface.co/victorialslocum/reciparse_model/resolve/main/reciparse_model-any-py3-none-any.whl
|
|
|
1 |
gradio==3.0.24
|
2 |
python-decouple==3.6
|
3 |
requests==2.28.1
|
4 |
+
spacy==3.3.1
|
|
|
|