bektim commited on
Commit
a921ceb
·
verified ·
1 Parent(s): 8687dfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from tempfile import NamedTemporaryFile
6
 
7
  # Get API token from environment variable
8
  API_TOKEN = os.environ.get("HF_API_TOKEN") # Use your token here
9
- API_URL = "https://api-inference.huggingface.co/models/facebook/seamless-m4t-large"
10
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
11
 
12
  def query(audio_input):
 
6
 
7
  # Get API token from environment variable
8
  API_TOKEN = os.environ.get("HF_API_TOKEN") # Use your token here
9
+ API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large"
10
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
11
 
12
  def query(audio_input):