sohoso commited on
Commit
20b1ebd
·
verified ·
1 Parent(s): 047caf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,8 +60,8 @@ def ImageChat(image, user_prompt):
60
  # Create the Gradio interface
61
  app = gr.Interface(
62
  fn=ImageChat,
63
- inputs=[gr.Image(label="Stock Chart Image", type="file"), gr.Textbox(label="Continue Chat")],
64
- outputs=gr.Textbox(label="Analysis", interactive=True),
65
  title="Stock Chart Analysis",
66
  theme=gr.themes.Soft()
67
  )
 
60
  # Create the Gradio interface
61
  app = gr.Interface(
62
  fn=ImageChat,
63
+ inputs=[gr.Image(label="Stock Chart Image", type="pil"), gr.Textbox(label="Continue Chat")],
64
+ outputs=gr.Markdown(label="Analysis", interactive=True),
65
  title="Stock Chart Analysis",
66
  theme=gr.themes.Soft()
67
  )