Update app.py
Browse files
app.py
CHANGED
|
@@ -50,10 +50,9 @@ def scatter_plot_fn(request: gr.Request):
|
|
| 50 |
if token:
|
| 51 |
sp = spotipy.Spotify(token)
|
| 52 |
results = sp.current_user()
|
| 53 |
-
|
| 54 |
return gr.ScatterPlot(
|
| 55 |
value=iris,
|
| 56 |
-
title=results["display_name"]
|
| 57 |
)
|
| 58 |
|
| 59 |
|
|
|
|
| 50 |
if token:
|
| 51 |
sp = spotipy.Spotify(token)
|
| 52 |
results = sp.current_user()
|
| 53 |
+
print(results)
|
| 54 |
return gr.ScatterPlot(
|
| 55 |
value=iris,
|
|
|
|
| 56 |
)
|
| 57 |
|
| 58 |
|