Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|