marianna13 commited on
Commit
427f16d
·
1 Parent(s): d819924

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -77,7 +77,6 @@ def audio_demo(siblings, page_title, audio_meta, audio, annotator, audio_url):
77
  df['caption'].loc[df['audio_url'] == audio_url] = cap
78
  df['annotator'].loc[df['audio_url'] == audio_url] = annotator
79
  worksheet.update([df.columns.values.tolist()] + df.values.tolist())
80
- sample_df()
81
  return 'success!'
82
 
83
  audio_path, audio_url, sibling_elems, audio_meta, page_title, df, worksheet = sample_df()
@@ -99,4 +98,5 @@ iface = gr.Interface(
99
  )
100
 
101
  if __name__ == "__main__":
102
- iface.launch(show_error=True, debug=True)
 
 
77
  df['caption'].loc[df['audio_url'] == audio_url] = cap
78
  df['annotator'].loc[df['audio_url'] == audio_url] = annotator
79
  worksheet.update([df.columns.values.tolist()] + df.values.tolist())
 
80
  return 'success!'
81
 
82
  audio_path, audio_url, sibling_elems, audio_meta, page_title, df, worksheet = sample_df()
 
98
  )
99
 
100
  if __name__ == "__main__":
101
+ iface.launch(show_error=True, debug=True)
102
+ audio_path, audio_url, sibling_elems, audio_meta, page_title, df, worksheet = sample_df()