Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,10 +11,6 @@ def print_flagged_dir_and_csv(x):
|
|
| 11 |
subindent = ' ' * 4 * (level + 1)
|
| 12 |
for f in files:
|
| 13 |
dirtree += '{}{}\n'.format(subindent, f)
|
| 14 |
-
|
| 15 |
-
file = "flagged/log.csv"
|
| 16 |
-
else:
|
| 17 |
-
file = None
|
| 18 |
-
return dirtree, file
|
| 19 |
|
| 20 |
gr.Interface(print_flagged_dir_and_csv, "textbox", "textbox", allow_flagging=True).launch()
|
|
|
|
| 11 |
subindent = ' ' * 4 * (level + 1)
|
| 12 |
for f in files:
|
| 13 |
dirtree += '{}{}\n'.format(subindent, f)
|
| 14 |
+
return dirtree
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
gr.Interface(print_flagged_dir_and_csv, "textbox", "textbox", allow_flagging=True).launch()
|