Spaces:
Running
Running
zhang-ziang
commited on
Commit
·
abb2bbd
1
Parent(s):
dbc9aea
example debug fix try
Browse files
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)] for filename in example_files]
|
57 |
print(example_files)
|
58 |
server = gr.Interface(
|
59 |
flagging_mode='never',
|