jonaschua commited on
Commit
4fe8412
Β·
verified Β·
1 Parent(s): ff96e27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -97,6 +97,8 @@ def respond(message, history: list[tuple[str, str]], model, system_message, max_
97
 
98
  demo = gr.ChatInterface(
99
  respond,
 
 
100
  title="Ask me anything",
101
  description="Hi there! I am your friendly AI chatbot. Choose from different language models under the Additional Inputs tab below.",
102
  examples=[["Explain quantum computing"], ["Explain forex trading"], ["What is the capital of China?"], ["Make a poem about nature"]],
 
97
 
98
  demo = gr.ChatInterface(
99
  respond,
100
+ stop_btn = "Stop generation",
101
+ multimodal = True,
102
  title="Ask me anything",
103
  description="Hi there! I am your friendly AI chatbot. Choose from different language models under the Additional Inputs tab below.",
104
  examples=[["Explain quantum computing"], ["Explain forex trading"], ["What is the capital of China?"], ["Make a poem about nature"]],