RobotJelly commited on
Commit
7f9afde
·
1 Parent(s): 4e156fd
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -205,13 +205,14 @@ with demo:
205
  Else If uploaded image is of Human: it will give its resembling breed of dog
206
  """)
207
 
 
 
208
  with gr.Row():
209
- paths = sorted(pathlib.Path('images').glob('*.jpg'))
210
- example_images = gr.Dataset(components=[input_image],
211
- samples=[[path.as_posix()]
212
- for path in paths])
213
 
214
- inp = gr.Image(label='input image of dog/human', type='pil')
215
  #out1 = gr.Textbox()
216
  # out2 = gr.Image(type="pil")
217
  #out = gr.Gallery()
 
205
  Else If uploaded image is of Human: it will give its resembling breed of dog
206
  """)
207
 
208
+ inp = gr.Image(label='input image of dog/human', type='pil')
209
+
210
  with gr.Row():
211
+ paths = sorted(pathlib.Path('images').glob('*.jpg'))
212
+ example_images = gr.Dataset(components=[inp],
213
+ samples=[[path.as_posix()]
214
+ for path in paths])
215
 
 
216
  #out1 = gr.Textbox()
217
  # out2 = gr.Image(type="pil")
218
  #out = gr.Gallery()