Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def chart_generator(message: str):
|
|
114 |
demo = gr.Interface(
|
115 |
fn=handle_message,
|
116 |
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.")],
|
117 |
-
outputs=[gr.Textbox(label="Response"), gr.Image(label="Chart if
|
118 |
title="IT Assistant")
|
119 |
|
120 |
demo.launch()
|
|
|
114 |
demo = gr.Interface(
|
115 |
fn=handle_message,
|
116 |
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.")],
|
117 |
+
outputs=[gr.Textbox(label="Response"), gr.Image(label="Output of Chart-Generator if selected", type="filepath")],
|
118 |
title="IT Assistant")
|
119 |
|
120 |
demo.launch()
|