Adityadn commited on
Commit
b4f85fa
·
verified ·
1 Parent(s): b1ca521

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ import json
78
 
79
  # Function to recognize audio from URL or uploaded file
80
  def recognize_audio(choice, url, file):
81
- api_url = os.getenv("API_URL", "https://api.audd.io/")
82
  params = {
83
  "return": "apple_music,spotify",
84
  "api_token": os.getenv("API_TOKEN", "your_api_token_here")
 
78
 
79
  # Function to recognize audio from URL or uploaded file
80
  def recognize_audio(choice, url, file):
81
+ api_url = os.getenv("API_URL", "https://api.audd.io/").strip('"')
82
  params = {
83
  "return": "apple_music,spotify",
84
  "api_token": os.getenv("API_TOKEN", "your_api_token_here")