bishmoy commited on
Commit
1669d08
·
verified ·
1 Parent(s): 7784100

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -1
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, indices = indices):
 
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]