Spaces:
Runtime error
Runtime error
charliebaby2023
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
-
#from transformers import pipeline
|
3 |
|
4 |
-
|
5 |
-
whisper = gr.load("openai/whisper-small")
|
6 |
|
7 |
def transcribe(audio):
|
8 |
return whisper(audio)
|
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
+
whisper = gr.load("models/openai/whisper-small")
|
|
|
4 |
|
5 |
def transcribe(audio):
|
6 |
return whisper(audio)
|