Dani
commited on
Commit
·
0a06fea
1
Parent(s):
ec478d4
app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
from huggingface_hub import login
|
4 |
-
with open("../../token.txt", "r") as file:
|
5 |
-
token = file.readline().strip()
|
6 |
|
7 |
-
login(token=token, add_to_git_credential=True)
|
8 |
|
9 |
|
10 |
pipe = pipeline(model="dacavi/whisper-small-hi") # change to "your-username/the-name-you-picked"
|
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
from huggingface_hub import login
|
4 |
+
#with open("../../token.txt", "r") as file:
|
5 |
+
# token = file.readline().strip()
|
6 |
|
7 |
+
#login(token=token, add_to_git_credential=True)
|
8 |
|
9 |
|
10 |
pipe = pipeline(model="dacavi/whisper-small-hi") # change to "your-username/the-name-you-picked"
|