kya5 commited on
Commit
f0deeda
1 Parent(s): 244714e

Update translation_api.py

Browse files
Files changed (1) hide show
  1. translation_api.py +1 -1
translation_api.py CHANGED
@@ -84,7 +84,7 @@ def translate(input_text_path, output_text_path, source_lang='en', target_lang='
84
  wtff(output_text_path, translated_lines)
85
  return translated_lines
86
 
87
- def downloading(video_url, target_lang='fr'):
88
  try:
89
  video_id = re.search(r"(?<=v=)[\w-]+", video_url)
90
  if video_id:
 
84
  wtff(output_text_path, translated_lines)
85
  return translated_lines
86
 
87
+ def downloading(video_url, target_lang='jp'):
88
  try:
89
  video_id = re.search(r"(?<=v=)[\w-]+", video_url)
90
  if video_id: