Spaces:
Runtime error
Runtime error
Commit
·
7f9afde
1
Parent(s):
4e156fd
app.py
Browse files
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 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
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()
|