Spaces:
Runtime error
Runtime error
SteveDigital
commited on
Commit
•
a1357dd
1
Parent(s):
69ae916
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import whisper
|
3 |
|
|
|
|
|
4 |
def speech_to_text(uploaded, model_size):
|
5 |
model = whisper.load_model(model_size)
|
6 |
source = uploaded if uploaded is not None else ''
|
|
|
1 |
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 ''
|