Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,7 @@ from transformers import pipeline
|
|
3 |
import gradio as gr
|
4 |
|
5 |
|
6 |
-
pipe = pipeline(model="tarteel-ai/whisper-base-ar-quran"
|
7 |
-
use_auth_token=os.environ["Tutanka01/El Akhal"]) # change to "your-username/the-name-you-picked"
|
8 |
|
9 |
def transcribe(audio):
|
10 |
text = pipe(audio)["text"]
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
|
6 |
+
pipe = pipeline(model="tarteel-ai/whisper-base-ar-quran") # change to "your-username/the-name-you-picked"
|
|
|
7 |
|
8 |
def transcribe(audio):
|
9 |
text = pipe(audio)["text"]
|