Spaces:
Running
Running
MuGeminorum
commited on
Commit
•
ed3f8d6
1
Parent(s):
33fee03
upl images examples
Browse files- app.py +4 -2
- images/03.png +0 -0
- images/2003.png +0 -0
- 457.png → images/457.png +0 -0
app.py
CHANGED
@@ -84,14 +84,16 @@ def inference(image_path, weight_path="model-122000.pth"):
|
|
84 |
download_model()
|
85 |
|
86 |
if not image_path:
|
87 |
-
image_path = '
|
88 |
|
89 |
return _infer(weight_path, image_path)
|
90 |
|
91 |
|
92 |
if __name__ == '__main__':
|
93 |
example_images = [
|
94 |
-
'
|
|
|
|
|
95 |
]
|
96 |
|
97 |
iface = gr.Interface(
|
|
|
84 |
download_model()
|
85 |
|
86 |
if not image_path:
|
87 |
+
image_path = './images/03.png'
|
88 |
|
89 |
return _infer(weight_path, image_path)
|
90 |
|
91 |
|
92 |
if __name__ == '__main__':
|
93 |
example_images = [
|
94 |
+
'./images/03.png',
|
95 |
+
'./images/457.png',
|
96 |
+
'./images/2003.png'
|
97 |
]
|
98 |
|
99 |
iface = gr.Interface(
|
images/03.png
ADDED
images/2003.png
ADDED
457.png → images/457.png
RENAMED
File without changes
|