Spaces:
Runtime error
Runtime error
Commit
·
ac4a6e0
1
Parent(s):
5cb6e27
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,6 @@ import gradio as gr
|
|
4 |
|
5 |
|
6 |
def get_text(audio_path):
|
7 |
-
print(aud)
|
8 |
model = whisper.load_model(name='base', download_root=config.MODEL_DIR)
|
9 |
results = model.transcribe(audio_path)
|
10 |
return results['text']
|
|
|
4 |
|
5 |
|
6 |
def get_text(audio_path):
|
|
|
7 |
model = whisper.load_model(name='base', download_root=config.MODEL_DIR)
|
8 |
results = model.transcribe(audio_path)
|
9 |
return results['text']
|