Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def transcribe_audio(youtube_url: str, task: str = "transcribe", return_timestam
|
|
18 |
- dict: The transcription result.
|
19 |
"""
|
20 |
client = Client("https://sanchit-gandhi-whisper-jax.hf.space/")
|
21 |
-
result = client.predict(youtube_url, task, return_timestamps,
|
22 |
return result
|
23 |
|
24 |
|
|
|
18 |
- dict: The transcription result.
|
19 |
"""
|
20 |
client = Client("https://sanchit-gandhi-whisper-jax.hf.space/")
|
21 |
+
result = client.predict(youtube_url, task, return_timestamps, fn_index=7)
|
22 |
return result
|
23 |
|
24 |
|