mou3az commited on
Commit
a15c48d
1 Parent(s): 9e9de3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 generated", type="filepath")],
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()