Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -474,7 +474,10 @@ f_ist = (api.list_repo_files(repo_id=f'{repo}/{name}', repo_type="dataset"))
|
|
474 |
send_list =[]
|
475 |
for i,ea in enumerate(f_ist):
|
476 |
if "balance/" in ea:
|
477 |
-
|
|
|
|
|
|
|
478 |
with gr.Blocks() as bc:
|
479 |
with gr.Row(visible=True) as invalid:
|
480 |
pass_box = gr.Textbox()
|
|
|
474 |
send_list =[]
|
475 |
for i,ea in enumerate(f_ist):
|
476 |
if "balance/" in ea:
|
477 |
+
try:
|
478 |
+
send_list.append(ea.split("/",1)[1]).split(".",1)[0]
|
479 |
+
except Exception:
|
480 |
+
pass
|
481 |
with gr.Blocks() as bc:
|
482 |
with gr.Row(visible=True) as invalid:
|
483 |
pass_box = gr.Textbox()
|