taesiri commited on
Commit
fba733c
·
1 Parent(s): 7fd29ef
Files changed (2) hide show
  1. .gitattributes +9 -0
  2. app.py +18 -0
.gitattributes CHANGED
@@ -33,3 +33,12 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ examples/8.jpg filter=lfs diff=lfs merge=lfs -text
37
+ examples/3.jpg filter=lfs diff=lfs merge=lfs -text
38
+ examples/2.jpg filter=lfs diff=lfs merge=lfs -text
39
+ examples/4.jpg filter=lfs diff=lfs merge=lfs -text
40
+ examples/5.jpg filter=lfs diff=lfs merge=lfs -text
41
+ examples/6.jpg filter=lfs diff=lfs merge=lfs -text
42
+ examples/7.jpg filter=lfs diff=lfs merge=lfs -text
43
+ examples/9.jpg filter=lfs diff=lfs merge=lfs -text
44
+ examples/1.jpg filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -176,6 +176,24 @@ with gr.Blocks() as demo:
176
  )
177
  submit_btn = gr.Button("Analyze Image", variant="primary")
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  with gr.Tabs():
180
  with gr.Tab("Structured Results"):
181
  with gr.Column(scale=1):
 
176
  )
177
  submit_btn = gr.Button("Analyze Image", variant="primary")
178
 
179
+ # Updated examples
180
+ gr.Examples(
181
+ examples=[
182
+ "examples/1.jpg",
183
+ "examples/2.jpg",
184
+ "examples/3.jpg",
185
+ "examples/4.jpg",
186
+ "examples/5.jpg",
187
+ "examples/6.jpg",
188
+ "examples/7.jpg",
189
+ "examples/8.jpg",
190
+ "examples/9.jpg",
191
+ ],
192
+ inputs=image_input,
193
+ label="Example Images",
194
+ examples_per_page=5,
195
+ )
196
+
197
  with gr.Tabs():
198
  with gr.Tab("Structured Results"):
199
  with gr.Column(scale=1):