marquesafonso
commited on
update api input name after downstream change
Browse files- 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 |
-
|
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,
|