Spaces:
Runtime error
Runtime error
Commit
·
acb6e72
1
Parent(s):
f8b664f
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
3 |
-
import torchaudio
|
4 |
|
5 |
def translate(audio):
|
6 |
model_id_asr = "openai/whisper-small"
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
3 |
+
import torchaudio
|
4 |
|
5 |
def translate(audio):
|
6 |
model_id_asr = "openai/whisper-small"
|