Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def predict(question_choice, audio):
|
|
36 |
model='gpt-3.5-turbo',
|
37 |
messages=conversation,
|
38 |
temperature=0.6,
|
39 |
-
max_tokens=
|
40 |
stream=True
|
41 |
)
|
42 |
|
|
|
36 |
model='gpt-3.5-turbo',
|
37 |
messages=conversation,
|
38 |
temperature=0.6,
|
39 |
+
max_tokens=100, # Limiting the response to 500 tokens
|
40 |
stream=True
|
41 |
)
|
42 |
|