emvecchi commited on
Commit
3d4ce61
·
verified ·
1 Parent(s): d40acd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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) -2
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