moazzamdev commited on
Commit
a1a0832
·
verified ·
1 Parent(s): fb404e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ ytmusic = YTMusic()
7
  # Function to fetch search results from the API
8
  def fetch_search_results(query):
9
  results = ytmusic.search(query)
10
- return results.json()
11
 
12
  # Main Streamlit app
13
  def main():
 
7
  # Function to fetch search results from the API
8
  def fetch_search_results(query):
9
  results = ytmusic.search(query)
10
+ return results
11
 
12
  # Main Streamlit app
13
  def main():