LittleApple-fp16 commited on
Commit
d762fa5
1 Parent(s): c58ad6f

Update waifu_get.py

Browse files
Files changed (1) hide show
  1. waifu_get.py +2 -0
waifu_get.py CHANGED
@@ -75,6 +75,8 @@ def start_func(chars, is_cpu, udghs, game_index=None):
75
  for jp in chs:
76
  jp = jp['jpname']
77
  print(jp, 'start...')
 
 
78
  crawl_dataset_to_huggingface(jp)
79
  print(jp + "完成")
80
  return "完成"
 
75
  for jp in chs:
76
  jp = jp['jpname']
77
  print(jp, 'start...')
78
+ with open(os.path.join(os.path.basename(os.path.dirname(name)), 'log.txt'), 'w') as log_f:
79
+ print(f'{jp} is in crawl.', file=log_f)
80
  crawl_dataset_to_huggingface(jp)
81
  print(jp + "完成")
82
  return "完成"