ashutoshzade commited on
Commit
ab73ef2
1 Parent(s): b8062cd

Update app.py

Browse files

Changed back to an image

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ def chat_fn(multimodal_message):
47
  with gr.Blocks() as demo:
48
  gr.Markdown("# 🔍 Xray with your recent transitions")
49
  response = gr.Textbox(lines=5, label="Response")
50
- chat = gr.MultimodalTextbox(file_types=["text"], interactive=True,
51
- show_label=False, placeholder="Upload a document csv file by blicking '+' and ask a question about your records.")
52
  chat.submit(chat_fn, inputs=chat, outputs=response)
53
 
54
  if __name__ == "__main__":
 
47
  with gr.Blocks() as demo:
48
  gr.Markdown("# 🔍 Xray with your recent transitions")
49
  response = gr.Textbox(lines=5, label="Response")
50
+ chat = gr.MultimodalTextbox(file_types=["image"], interactive=True,
51
+ show_label=False, placeholder="Upload a document image by blicking '+' and ask a question about your records.")
52
  chat.submit(chat_fn, inputs=chat, outputs=response)
53
 
54
  if __name__ == "__main__":