Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
# Fetch the token from the environment
|
6 |
hf_token = os.getenv("HUGGINGFACE_HUB_TOKEN")
|
7 |
#model_id = "akadriu/whisper-medium-sq" # update with your model id
|
8 |
-
model_id =""
|
9 |
#pipe = pipeline("automatic-speech-recognition", model=model_id, token=hf_token)
|
10 |
pipe = pipeline("automatic-speech-recognition", model=model_id)
|
11 |
|
|
|
5 |
# Fetch the token from the environment
|
6 |
hf_token = os.getenv("HUGGINGFACE_HUB_TOKEN")
|
7 |
#model_id = "akadriu/whisper-medium-sq" # update with your model id
|
8 |
+
model_id ="./"
|
9 |
#pipe = pipeline("automatic-speech-recognition", model=model_id, token=hf_token)
|
10 |
pipe = pipeline("automatic-speech-recognition", model=model_id)
|
11 |
|