bstraehle commited on
Commit
0a35616
1 Parent(s): cf5d35c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def create_message(client, thread, msg):
56
  message = client.beta.threads.messages.create(
57
  role="user",
58
  thread_id=thread.id,
59
- content=msg.text,
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
  )
61
 
62
  show_json("message", message)