shohabbosdev commited on
Commit
45a9671
1 Parent(s): 83acec9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -3,9 +3,8 @@ import gradio as gr
3
  import time
4
  from pydub import AudioSegment
5
 
6
- api_key = TOKEN
7
  API_URL = "https://api-inference.huggingface.co/models/oyqiz/uzbek_stt_1_version"
8
- headers = {"Authorization": f"Bearer {api_key}"}
9
 
10
  def query(filename, progress=gr.Progress()):
11
  try:
 
3
  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 "+ api_key }
8
 
9
  def query(filename, progress=gr.Progress()):
10
  try: