bstraehle commited on
Commit
c4a7aa8
·
verified ·
1 Parent(s): b74c5f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -79,15 +79,16 @@ gr.ChatInterface(
79
  chat,
80
  chatbot=gr.Chatbot(height=300),
81
  textbox=gr.Textbox(placeholder="Question", container=False, scale=7),
82
- title="Math Tutor",
83
- description="Ask Math Tutor any question",
84
  theme="soft",
85
- examples=[["I need to solve the equation '3x + 13 = 11'. Can you help me?", "sk-<BringYourOwn>"]],
86
- cache_examples=True,
87
  retry_btn=None,
88
  undo_btn=None,
89
  clear_btn="Clear",
90
  additional_inputs=[
91
  gr.Textbox("sk-", label="OpenAI API Key", type = "password"),
92
  ],
 
 
93
  ).launch()
 
79
  chat,
80
  chatbot=gr.Chatbot(height=300),
81
  textbox=gr.Textbox(placeholder="Question", container=False, scale=7),
82
+ title="Multi-Assistant Demo",
83
+ description="Ask Coding Assistant and Math Assistant and any question",
84
  theme="soft",
85
+ cache_examples=False,
 
86
  retry_btn=None,
87
  undo_btn=None,
88
  clear_btn="Clear",
89
  additional_inputs=[
90
  gr.Textbox("sk-", label="OpenAI API Key", type = "password"),
91
  ],
92
+ examples=[["Write a 'Hello World' Python program", "sk-<BringYourOwn>"],
93
+ ["I need to solve the equation '2x + 10 = 20'. Can you help me?", "sk-<BringYourOwn>"]],
94
  ).launch()