Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -260,7 +260,7 @@ def main():
|
|
260 |
|
261 |
st.title("Spotify Similarity Search")
|
262 |
|
263 |
-
|
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"):
|