Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,8 +37,8 @@ def predict(question_choice, audio):
|
|
37 |
response = openai.ChatCompletion.create(
|
38 |
model='gpt-3.5-turbo',
|
39 |
messages=conversation,
|
40 |
-
temperature=0.
|
41 |
-
max_tokens=
|
42 |
stream=True
|
43 |
)
|
44 |
|
|
|
37 |
response = openai.ChatCompletion.create(
|
38 |
model='gpt-3.5-turbo',
|
39 |
messages=conversation,
|
40 |
+
temperature=0.4,
|
41 |
+
max_tokens=500, # Limiting the response to 500 tokens
|
42 |
stream=True
|
43 |
)
|
44 |
|