Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
| 3 |
import torch
|
| 4 |
import os
|
| 5 |
from huggingface_hub import login
|
| 6 |
-
login(token=os.environ.get("HF_TOKEN"))
|
| 7 |
pipe = pipeline("automatic-speech-recognition", model="aisha-org/Whisper-Uzbek")
|
| 8 |
|
| 9 |
def transcribe_audio(audio_file):
|
|
|
|
| 3 |
import torch
|
| 4 |
import os
|
| 5 |
from huggingface_hub import login
|
| 6 |
+
#login(token=os.environ.get("HF_TOKEN"))
|
| 7 |
pipe = pipeline("automatic-speech-recognition", model="aisha-org/Whisper-Uzbek")
|
| 8 |
|
| 9 |
def transcribe_audio(audio_file):
|