berkaygkv commited on
Commit
6135714
1 Parent(s): edb622a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -260,7 +260,7 @@ def main():
260
 
261
  st.title("Spotify Similarity Search")
262
 
263
- audio_encoder = load_resources()
264
  qdrant_client = get_qdrant_client()
265
 
266
  # Sidebar for authentication and data management
@@ -273,6 +273,7 @@ def main():
273
 
274
  if 'spotify_auth' in st.session_state:
275
  st.success("Connected to Spotify and Qdrant")
 
276
  if st.button("Logout from Spotify"):
277
  logout()
278
  if st.button("Truncate Qdrant Data"):
 
260
 
261
  st.title("Spotify Similarity Search")
262
 
263
+
264
  qdrant_client = get_qdrant_client()
265
 
266
  # Sidebar for authentication and data management
 
273
 
274
  if 'spotify_auth' in st.session_state:
275
  st.success("Connected to Spotify and Qdrant")
276
+ audio_encoder = load_resources()
277
  if st.button("Logout from Spotify"):
278
  logout()
279
  if st.button("Truncate Qdrant Data"):