Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,8 @@ def create_message(client, thread, msg):
|
|
56 |
message = client.beta.threads.messages.create(
|
57 |
role="user",
|
58 |
thread_id=thread.id,
|
59 |
-
content=
|
|
|
60 |
)
|
61 |
|
62 |
show_json("message", message)
|
|
|
56 |
message = client.beta.threads.messages.create(
|
57 |
role="user",
|
58 |
thread_id=thread.id,
|
59 |
+
content=msg["text"],
|
60 |
+
attachments=None,
|
61 |
)
|
62 |
|
63 |
show_json("message", message)
|