marquesafonso commited on
Commit
6b81b71
·
verified ·
1 Parent(s): 3f3810e

update api input name after downstream change

Browse files
Files changed (1) hide show
  1. utils/transcriber.py +1 -1
utils/transcriber.py CHANGED
@@ -9,7 +9,7 @@ def transcriber(invideo_file:str, srt_file:str,
9
  HF_SPACE = os.getenv("hf_space")
10
  client = Client(HF_SPACE, hf_token=HF_TOKEN)
11
  result = client.predict(
12
- video_input=handle_file(invideo_file),
13
  max_words_per_line=max_words_per_line,
14
  task=task,
15
  model_version=model_version,
 
9
  HF_SPACE = os.getenv("hf_space")
10
  client = Client(HF_SPACE, hf_token=HF_TOKEN)
11
  result = client.predict(
12
+ file_input=handle_file(invideo_file),
13
  max_words_per_line=max_words_per_line,
14
  task=task,
15
  model_version=model_version,