bstraehle commited on
Commit
a985e86
1 Parent(s): 976e692

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,7 +42,7 @@ def chat(message, history):
42
  message = client.beta.threads.messages.create(
43
  thread_id=thread.id,
44
  role="user",
45
- content="I need to solve the equation `3x + 11 = 14`. Can you help me?",
46
  )
47
 
48
  show_json(message)
@@ -69,7 +69,7 @@ gr.ChatInterface(
69
  chatbot=gr.Chatbot(height=300),
70
  textbox=gr.Textbox(placeholder="Ask Math Tutor any question", container=False, scale=7),
71
  title="Math Tutor",
72
- description="Ask Math Tutor any question",
73
  theme="soft",
74
  examples=["I need to solve the equation `3x + 12 = 14`. Can you help me?"],
75
  cache_examples=False,
 
42
  message = client.beta.threads.messages.create(
43
  thread_id=thread.id,
44
  role="user",
45
+ content=message,
46
  )
47
 
48
  show_json(message)
 
69
  chatbot=gr.Chatbot(height=300),
70
  textbox=gr.Textbox(placeholder="Ask Math Tutor any question", container=False, scale=7),
71
  title="Math Tutor",
72
+ description="Question",
73
  theme="soft",
74
  examples=["I need to solve the equation `3x + 12 = 14`. Can you help me?"],
75
  cache_examples=False,