Spaces:
Running
Running
zhang-ziang
commited on
Commit
•
cce87b8
1
Parent(s):
9ff5e06
refine default argument
Browse files- app.py +1 -1
- examples/cat.png +0 -0
app.py
CHANGED
@@ -53,7 +53,7 @@ def infer_func(img, do_rm_bkg=True, do_infer_aug=False):
|
|
53 |
|
54 |
example_files = os.listdir('examples')
|
55 |
example_files.sort()
|
56 |
-
example_files = [[os.path.join('examples', filename),
|
57 |
print(example_files)
|
58 |
server = gr.Interface(
|
59 |
flagging_mode='never',
|
|
|
53 |
|
54 |
example_files = os.listdir('examples')
|
55 |
example_files.sort()
|
56 |
+
example_files = [[os.path.join('examples', filename), None, None] for filename in example_files]
|
57 |
print(example_files)
|
58 |
server = gr.Interface(
|
59 |
flagging_mode='never',
|
examples/cat.png
DELETED
Binary file (20.1 kB)
|
|