Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def infer(audio_input):
|
|
16 |
|
17 |
# STEP 2 | Transcribe
|
18 |
whisper_result = whisper_client.predict(
|
19 |
-
|
20 |
"transcribe", # str in 'Task' Radio component
|
21 |
True, # bool in 'Return timestamps' Checkbox component
|
22 |
api_name="/predict"
|
|
|
16 |
|
17 |
# STEP 2 | Transcribe
|
18 |
whisper_result = whisper_client.predict(
|
19 |
+
splt_result, # str (filepath or URL to file) in 'inputs' Audio component
|
20 |
"transcribe", # str in 'Task' Radio component
|
21 |
True, # bool in 'Return timestamps' Checkbox component
|
22 |
api_name="/predict"
|