Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ 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=500, # Limiting the response to 500 tokens
|
42 |
stream=True
|
43 |
)
|
|
|
37 |
response = openai.ChatCompletion.create(
|
38 |
model='gpt-3.5-turbo',
|
39 |
messages=conversation,
|
40 |
+
temperature=0.7,
|
41 |
max_tokens=500, # Limiting the response to 500 tokens
|
42 |
stream=True
|
43 |
)
|