Devis2awe commited on
Commit
af3031c
1 Parent(s): b9464e1

changing gradio output

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -143,8 +143,8 @@ def main(stock):
143
 
144
  iface = gr.Interface(
145
  fn=main,
146
- inputs=gr.inputs.Textbox(label="Stock"),
147
- outputs=[gr.outputs.Textbox(label="Weighted Sentiment Score"), gr.outputs.Plot(label="Sentiment Distribution")]
148
  )
149
 
150
  if __name__ == "__main__":
 
143
 
144
  iface = gr.Interface(
145
  fn=main,
146
+ inputs="textbox",
147
+ outputs=["textbox","image"]
148
  )
149
 
150
  if __name__ == "__main__":