yichenl5 commited on
Commit
735788e
·
1 Parent(s): 3dbe507

Update entries/app.py

Browse files
Files changed (1) hide show
  1. entries/app.py +1 -2
entries/app.py CHANGED
@@ -56,8 +56,7 @@ def init(output_type, src_lang, tgt_lang, domain):
56
  logging.FileHandler(
57
  "{}/{}_{}.log".format(task_dir, f"task_{task_id}", datetime.now().strftime("%m%d%Y_%H%M%S")),
58
  'w', encoding='utf-8'),
59
- logging.StreamHandler(sys.stdout, datetime.now().strftime("%m%d%Y_%H%M%S")),
60
- 'w', encoding='utf-8')])
61
  return task_id, task_dir, task_cfg
62
 
63
  def process_input(video_file, youtube_link, src_lang, tgt_lang, domain, output_type):
 
56
  logging.FileHandler(
57
  "{}/{}_{}.log".format(task_dir, f"task_{task_id}", datetime.now().strftime("%m%d%Y_%H%M%S")),
58
  'w', encoding='utf-8'),
59
+ logging.StreamHandler(sys.stdout)])
 
60
  return task_id, task_dir, task_cfg
61
 
62
  def process_input(video_file, youtube_link, src_lang, tgt_lang, domain, output_type):