Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -52,11 +52,16 @@ def chat(message, history):
|
|
52 |
message = client.beta.threads.messages.create(
|
53 |
thread_id=thread.id,
|
54 |
role="user",
|
55 |
-
content=
|
56 |
)
|
57 |
|
58 |
show_json(message)
|
59 |
|
|
|
|
|
|
|
|
|
|
|
60 |
run = client.beta.threads.runs.create(
|
61 |
thread_id=thread.id,
|
62 |
assistant_id=assistant.id,
|
|
|
52 |
message = client.beta.threads.messages.create(
|
53 |
thread_id=thread.id,
|
54 |
role="user",
|
55 |
+
content=message,
|
56 |
)
|
57 |
|
58 |
show_json(message)
|
59 |
|
60 |
+
print("###")
|
61 |
+
print(thread.id)
|
62 |
+
print("###")
|
63 |
+
print(assistant.id)
|
64 |
+
|
65 |
run = client.beta.threads.runs.create(
|
66 |
thread_id=thread.id,
|
67 |
assistant_id=assistant.id,
|