Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,8 @@ translator = pipeline("translation", model="Helsinki-NLP/opus-mt-et-en")
|
|
10 |
# Spoonacular API
|
11 |
API_KEY = "063a7388c8094613b724beda1804059e"
|
12 |
API_URL = "https://api.spoonacular.com/recipes/findByIngredients"
|
|
|
|
|
13 |
|
14 |
# Streamlit kasutajaliides
|
15 |
st.title("Retseptide generaator")
|
|
|
10 |
# Spoonacular API
|
11 |
API_KEY = "063a7388c8094613b724beda1804059e"
|
12 |
API_URL = "https://api.spoonacular.com/recipes/findByIngredients"
|
13 |
+
DETAIL_URL = "https://api.spoonacular.com/recipes/{id}/information" # Parandatud DETAIL_URL määratlus
|
14 |
+
|
15 |
|
16 |
# Streamlit kasutajaliides
|
17 |
st.title("Retseptide generaator")
|