Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"]],
|