Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -225,7 +225,7 @@ else:
|
|
| 225 |
def get_start_index():
|
| 226 |
if hf_fs.exists(output_repo_path + '/' + get_base_path()):
|
| 227 |
files = hf_fs.ls(output_repo_path + '/' + get_base_path())
|
| 228 |
-
return len(files) -
|
| 229 |
else:
|
| 230 |
return -2
|
| 231 |
|
|
|
|
| 225 |
def get_start_index():
|
| 226 |
if hf_fs.exists(output_repo_path + '/' + get_base_path()):
|
| 227 |
files = hf_fs.ls(output_repo_path + '/' + get_base_path())
|
| 228 |
+
return len(files) -1
|
| 229 |
else:
|
| 230 |
return -2
|
| 231 |
|