vumichien commited on
Commit
f56a60e
1 Parent(s): 908df6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -129,12 +129,6 @@ with demo:
129
  <h4> 3. Answering your question based on uploaded image </h4>
130
  </div>
131
  ''')
132
- examples = gr.Examples(examples=
133
- [["image1.jpg", "What type of bird is this?"],
134
- ["image2.jpg", "What type of bike is on the ground?"],
135
- ["image3.jpg", "What is the person in the photo wearing?"]],
136
- label="Examples", inputs=[raw_image, question])
137
-
138
  with gr.Row():
139
  with gr.Column():
140
  raw_image.render()
@@ -156,5 +150,14 @@ with demo:
156
  with gr.Column():
157
  text_output.render()
158
  system_info.render()
 
 
 
 
 
 
 
 
 
159
 
160
  demo.launch(debug=True)
 
129
  <h4> 3. Answering your question based on uploaded image </h4>
130
  </div>
131
  ''')
 
 
 
 
 
 
132
  with gr.Row():
133
  with gr.Column():
134
  raw_image.render()
 
150
  with gr.Column():
151
  text_output.render()
152
  system_info.render()
153
+ with gr.Row():
154
+ examples = gr.Examples(
155
+ examples=
156
+ [["image1.jpg", "What type of bird is this?"],
157
+ ["image2.jpg", "What type of bike is on the ground?"],
158
+ ["image3.jpg", "What is the person in the photo wearing?"]],
159
+ label="Examples",
160
+ inputs=[raw_image, question]
161
+ )
162
 
163
  demo.launch(debug=True)