Commit
·
8500a61
1
Parent(s):
a8659de
Upload 4 files
Browse files- .gitattributes +1 -0
- app.py +2 -2
- example1.jpg +3 -0
- example2.jpg +0 -0
- example3.jpg +0 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* 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 |
Black[[:space:]]people.jpg 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 |
Black[[:space:]]people.jpg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
example1.jpg filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
|
@@ -14,10 +14,10 @@ def classify_image(image):
|
|
| 14 |
|
| 15 |
image = gr.inputs.Image(shape=(192,192))
|
| 16 |
label = gr.outputs.Label()
|
| 17 |
-
examples=['
|
| 18 |
|
| 19 |
intf =gr.Interface(fn=classify_image,inputs=image,outputs=label,examples=examples)
|
| 20 |
-
intf.launch(inline=False)
|
| 21 |
|
| 22 |
|
| 23 |
|
|
|
|
| 14 |
|
| 15 |
image = gr.inputs.Image(shape=(192,192))
|
| 16 |
label = gr.outputs.Label()
|
| 17 |
+
examples=['Example1.jpg','example2.jpg','example3.jpg']
|
| 18 |
|
| 19 |
intf =gr.Interface(fn=classify_image,inputs=image,outputs=label,examples=examples)
|
| 20 |
+
intf.launch(inline=False,share=True)
|
| 21 |
|
| 22 |
|
| 23 |
|
example1.jpg
ADDED
|
Git LFS Details
|
example2.jpg
ADDED
|
example3.jpg
ADDED
|