Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def predict(question_choice, feedback_level, audio):
|
|
| 58 |
model='gpt-3.5-turbo',
|
| 59 |
messages=conversation,
|
| 60 |
temperature=0.6,
|
| 61 |
-
max_tokens=
|
| 62 |
stream=True
|
| 63 |
)
|
| 64 |
|
|
|
|
| 58 |
model='gpt-3.5-turbo',
|
| 59 |
messages=conversation,
|
| 60 |
temperature=0.6,
|
| 61 |
+
max_tokens=550, # Limiting the response to 550 tokens
|
| 62 |
stream=True
|
| 63 |
)
|
| 64 |
|