Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ def get_recipe(recipe_name: str) -> Recipe:
|
|
119 |
"content": f"Fetch a recipe for {recipe_name}",
|
120 |
},
|
121 |
],
|
122 |
-
model="
|
123 |
temperature=0,
|
124 |
# Streaming is not supported in JSON mode
|
125 |
stream=False,
|
@@ -156,7 +156,7 @@ def Suggest_ingredient_alternatives(recipe_name: str, dietary_restrictions: str,
|
|
156 |
Allergies: {', '.join(allergies)}""",
|
157 |
},
|
158 |
],
|
159 |
-
model="
|
160 |
temperature=0,
|
161 |
# Streaming is not supported in JSON mode
|
162 |
stream=False,
|
|
|
119 |
"content": f"Fetch a recipe for {recipe_name}",
|
120 |
},
|
121 |
],
|
122 |
+
model="llama-3.2-90b-text-preview",
|
123 |
temperature=0,
|
124 |
# Streaming is not supported in JSON mode
|
125 |
stream=False,
|
|
|
156 |
Allergies: {', '.join(allergies)}""",
|
157 |
},
|
158 |
],
|
159 |
+
model="llama-3.2-90b-text-preview",
|
160 |
temperature=0,
|
161 |
# Streaming is not supported in JSON mode
|
162 |
stream=False,
|