sitammeur commited on
Commit
7ac068e
·
verified ·
1 Parent(s): b7c19a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -4,10 +4,8 @@ from model import answer_question
4
 
5
 
6
  # Image and text inputs for the interface
7
- image = gr.Image(type="pil", label="Image")
8
- question = gr.Textbox(
9
- label="Question", placeholder="Enter your question here", interactive=True
10
- )
11
 
12
  # Output for the interface
13
  answer = gr.Textbox(label="Predicted answer", show_label=True, show_copy_button=True)
 
4
 
5
 
6
  # Image and text inputs for the interface
7
+ image = gr.Image(type="pil", label="Image", interactive=True)
8
+ question = gr.Textbox(label="Question", placeholder="Enter your question here")
 
 
9
 
10
  # Output for the interface
11
  answer = gr.Textbox(label="Predicted answer", show_label=True, show_copy_button=True)