Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ class ask_me:
|
|
| 12 |
run = self.client.beta.threads.runs.create(
|
| 13 |
thread_id=self.thread.id,
|
| 14 |
assistant_id='asst_cqL6gztTsqBGDdkKegpcQ32Y',
|
| 15 |
-
instructions=
|
| 16 |
)
|
| 17 |
while run.status in ['queued', 'in_progress', 'cancelling']:
|
| 18 |
time.sleep(1) # Wait for 1 second
|
|
|
|
| 12 |
run = self.client.beta.threads.runs.create(
|
| 13 |
thread_id=self.thread.id,
|
| 14 |
assistant_id='asst_cqL6gztTsqBGDdkKegpcQ32Y',
|
| 15 |
+
instructions=question
|
| 16 |
)
|
| 17 |
while run.status in ['queued', 'in_progress', 'cancelling']:
|
| 18 |
time.sleep(1) # Wait for 1 second
|