Spaces:
Running
Running
OmPrakashSingh1704
commited on
Commit
•
b7bbda9
1
Parent(s):
f55ba65
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def create_detailed_prompt(user_direction, exclusions, serving_size, difficulty)
|
|
54 |
def generate_recipe(user_inputs):
|
55 |
with st.spinner('Building the perfect recipe...'):
|
56 |
prompt = create_detailed_prompt(user_inputs['user_direction'], user_inputs['exclusions'], user_inputs['serving_size'], user_inputs['difficulty'])
|
57 |
-
|
58 |
{
|
59 |
"name": "provide_recipe",
|
60 |
"description": "Provides a detailed recipe strictly adhering to the user input/specifications, especially ingredient exclusions and the recipe difficulty",
|
|
|
54 |
def generate_recipe(user_inputs):
|
55 |
with st.spinner('Building the perfect recipe...'):
|
56 |
prompt = create_detailed_prompt(user_inputs['user_direction'], user_inputs['exclusions'], user_inputs['serving_size'], user_inputs['difficulty'])
|
57 |
+
functions = [
|
58 |
{
|
59 |
"name": "provide_recipe",
|
60 |
"description": "Provides a detailed recipe strictly adhering to the user input/specifications, especially ingredient exclusions and the recipe difficulty",
|