Spaces:
Sleeping
Sleeping
Commit
·
e7a667b
1
Parent(s):
d13aa0b
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ user_inputs = {
|
|
73 |
"difficulty": selected_difficulty
|
74 |
}
|
75 |
|
76 |
-
def create_detailed_prompt(
|
77 |
if difficulty == "Quick and Easy":
|
78 |
prompt = (
|
79 |
f"Please provide a 'Quick and Easy' recipe for {user_direction} with a serving size of {serving_size}. "
|
|
|
73 |
"difficulty": selected_difficulty
|
74 |
}
|
75 |
|
76 |
+
def create_detailed_prompt(user_direction, exclusions, serving_size, difficulty):
|
77 |
if difficulty == "Quick and Easy":
|
78 |
prompt = (
|
79 |
f"Please provide a 'Quick and Easy' recipe for {user_direction} with a serving size of {serving_size}. "
|