Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,7 @@ def ask_openai(question):
|
|
17 |
thread_id=thread.id,
|
18 |
role="user",
|
19 |
content=question,
|
|
|
20 |
)
|
21 |
|
22 |
run = client.beta.threads.runs.create(
|
|
|
17 |
thread_id=thread.id,
|
18 |
role="user",
|
19 |
content=question,
|
20 |
+
model=gpt-4-1106-preview
|
21 |
)
|
22 |
|
23 |
run = client.beta.threads.runs.create(
|