Spaces:
Sleeping
Sleeping
shohabbosdev
commited on
Commit
•
fa7f47a
1
Parent(s):
45a9671
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import time
|
|
4 |
from pydub import AudioSegment
|
5 |
|
6 |
API_URL = "https://api-inference.huggingface.co/models/oyqiz/uzbek_stt_1_version"
|
7 |
-
headers = {"Authorization": "Bearer "+
|
8 |
|
9 |
def query(filename, progress=gr.Progress()):
|
10 |
try:
|
|
|
4 |
from pydub import AudioSegment
|
5 |
|
6 |
API_URL = "https://api-inference.huggingface.co/models/oyqiz/uzbek_stt_1_version"
|
7 |
+
headers = {"Authorization": "Bearer "+ TOKEN }
|
8 |
|
9 |
def query(filename, progress=gr.Progress()):
|
10 |
try:
|