artificialguybr commited on
Commit
12ea292
·
1 Parent(s): 6e6993d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-distilled-600M")
21
  model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M")
22
  whisper_model = WhisperModel("large-v2", device="cuda", compute_type="float16")
23
 
24
- def process_video(video, target_language):
25
  print(type(video))
26
  # 1. Extrair áudio
27
  if not os.path.exists(video):
 
21
  model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M")
22
  whisper_model = WhisperModel("large-v2", device="cuda", compute_type="float16")
23
 
24
+ def process_video(Video, target_language):
25
  print(type(video))
26
  # 1. Extrair áudio
27
  if not os.path.exists(video):