Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ def chart_generator(message: str):
|
|
116 |
demo = gr.Interface(
|
117 |
fn=handle_message,
|
118 |
inputs=["text", gr.Radio(["Chat-Message", "Web-Search", "Chart-Generator"], label="mode", info="Choose a mode and enter your message, then click submit to interact.")],
|
119 |
-
outputs=[gr.
|
120 |
title="IT Assistant")
|
121 |
|
122 |
demo.launch()
|
|
|
116 |
demo = gr.Interface(
|
117 |
fn=handle_message,
|
118 |
inputs=["text", gr.Radio(["Chat-Message", "Web-Search", "Chart-Generator"], label="mode", info="Choose a mode and enter your message, then click submit to interact.")],
|
119 |
+
outputs=[gr.Textbox(label="Response"), gr.Image(label="Chart", type="auto")],
|
120 |
title="IT Assistant")
|
121 |
|
122 |
demo.launch()
|