marianna13 commited on
Commit
4f8ce01
1 Parent(s): 3a97bdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def sample_df():
57
  audio_path = download_and_save_file(audio_url, audio_dir)
58
  sibling_elems = ast.literal_eval(sibling_elems)
59
  sibling_elems = [s.replace('\n', '') for s in sibling_elems]
60
- sibling_elems = [wrap(s) for s in sibling_elems if len(s) > 0]
61
  sibling_elems = list(set(sibling_elems))
62
  img_metadata = ast.literal_eval(img_metadata)
63
  if len(img_metadata) > 0:
 
57
  audio_path = download_and_save_file(audio_url, audio_dir)
58
  sibling_elems = ast.literal_eval(sibling_elems)
59
  sibling_elems = [s.replace('\n', '') for s in sibling_elems]
60
+ sibling_elems = ["\n".join(wrap(s)) for s in sibling_elems if len(s) > 0]
61
  sibling_elems = list(set(sibling_elems))
62
  img_metadata = ast.literal_eval(img_metadata)
63
  if len(img_metadata) > 0: