Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -467,7 +467,10 @@ def issue_tokens(send,rec,amount):
|
|
467 |
|
468 |
return mes,p
|
469 |
#api = HfApi(token=token)
|
470 |
-
|
|
|
|
|
|
|
471 |
with gr.Blocks() as bc:
|
472 |
with gr.Row(visible=True) as invalid:
|
473 |
pass_box = gr.Textbox()
|
|
|
467 |
|
468 |
return mes,p
|
469 |
#api = HfApi(token=token)
|
470 |
+
repo = main_balance.split('datasets/',1)[1].split('/raw',1)[0].split('/',1)[0]
|
471 |
+
name = main_balance.split('datasets/',1)[1].split('/raw',1)[0].split('/',1)[1]
|
472 |
+
|
473 |
+
f_ist = (api.list_repo_files(repo_id=f'{repo}/{name}', repo_type="dataset"))
|
474 |
with gr.Blocks() as bc:
|
475 |
with gr.Row(visible=True) as invalid:
|
476 |
pass_box = gr.Textbox()
|