Spaces:
Runtime error
Runtime error
SteveDigital
commited on
Commit
•
bdffb1c
1
Parent(s):
a1357dd
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import whisper
|
3 |
|
4 |
# duplicate this space to run on higher CPU power for the large (very precise and multi-lingual) model to work best
|
5 |
-
|
6 |
def speech_to_text(uploaded, model_size):
|
7 |
model = whisper.load_model(model_size)
|
8 |
source = uploaded if uploaded is not None else ''
|
|
|
2 |
import whisper
|
3 |
|
4 |
# duplicate this space to run on higher CPU power for the large (very precise and multi-lingual) model to work best
|
5 |
+
|
6 |
def speech_to_text(uploaded, model_size):
|
7 |
model = whisper.load_model(model_size)
|
8 |
source = uploaded if uploaded is not None else ''
|