Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,7 +97,7 @@ def get_dish_suggestions():
|
|
| 97 |
try:
|
| 98 |
# Use the correct API structure for openai>=1.0.0
|
| 99 |
response = openai.Completion.create(
|
| 100 |
-
model="gpt-
|
| 101 |
prompt=prompt,
|
| 102 |
max_tokens=150,
|
| 103 |
temperature=0.7
|
|
|
|
| 97 |
try:
|
| 98 |
# Use the correct API structure for openai>=1.0.0
|
| 99 |
response = openai.Completion.create(
|
| 100 |
+
model="gpt-3.5-turbo",
|
| 101 |
prompt=prompt,
|
| 102 |
max_tokens=150,
|
| 103 |
temperature=0.7
|