Spaces:
Build error
Build error
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -124,7 +124,8 @@ def get_ip(request: gr.Request):
|
|
| 124 |
return ip
|
| 125 |
|
| 126 |
|
| 127 |
-
def get_song(idx, df = df, filenames = filenames
|
|
|
|
| 128 |
|
| 129 |
row = df.loc[idx]
|
| 130 |
audio_path = filenames[idx]
|
|
|
|
| 124 |
return ip
|
| 125 |
|
| 126 |
|
| 127 |
+
def get_song(idx, df = df, filenames = filenames):
|
| 128 |
+
global indices
|
| 129 |
|
| 130 |
row = df.loc[idx]
|
| 131 |
audio_path = filenames[idx]
|