deepsync commited on
Commit
f49ae9e
·
1 Parent(s): 19b292a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -211,7 +211,7 @@ def get_videos_under_review(status_keys):
211
  current_options = [f"{str(v['_id'])} / {v['title']}" for v in response.json()['data'] if 'title' in v]
212
  count[status] = len(current_options)
213
  options.extend(current_options)
214
- data_text = "\n".join([f"{k} : {v}" for k,v in count.items()])
215
  return gr.Dropdown.update(choices=options, value=None), data_text
216
 
217
 
 
211
  current_options = [f"{str(v['_id'])} / {v['title']}" for v in response.json()['data'] if 'title' in v]
212
  count[status] = len(current_options)
213
  options.extend(current_options)
214
+ data_text = "\n".join([f"{k} : {v} videos" for k,v in count.items()])
215
  return gr.Dropdown.update(choices=options, value=None), data_text
216
 
217