mou3az commited on
Commit
ac29309
1 Parent(s): 7d59cb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Textbox(label="Response"), gr.Image(label="Chart", type="auto")],
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="filepath")],
120
  title="IT Assistant")
121
 
122
  demo.launch()