Huiwenshi commited on
Commit
5114de5
·
verified ·
1 Parent(s): 1c10fa6

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. hg_app.py +1 -1
hg_app.py CHANGED
@@ -50,7 +50,7 @@ def get_example_txt_list():
50
  return txt_list
51
 
52
 
53
- def gen_save_folder(max_size=600):
54
  os.makedirs(SAVE_DIR, exist_ok=True)
55
  exists = set(int(_) for _ in os.listdir(SAVE_DIR) if not _.startswith("."))
56
  cur_id = min(set(range(max_size)) - exists) if len(exists) < max_size else -1
 
50
  return txt_list
51
 
52
 
53
+ def gen_save_folder(max_size=60):
54
  os.makedirs(SAVE_DIR, exist_ok=True)
55
  exists = set(int(_) for _ in os.listdir(SAVE_DIR) if not _.startswith("."))
56
  cur_id = min(set(range(max_size)) - exists) if len(exists) < max_size else -1