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