Spaces:
Running
Running
Update dl.py
Browse files
dl.py
CHANGED
@@ -91,7 +91,7 @@ def show_f(repo,name,token):
|
|
91 |
return(gr.Dropdown.update(label="Files", choices=[f for f in f_ist],interactive=True),
|
92 |
file_list,
|
93 |
gr.update(choices=[f for f in f_ist],interactive=True),
|
94 |
-
api.space_info(f'{repo}/{name}',
|
95 |
api.get_space_runtim(f'{repo}/{name}'))
|
96 |
|
97 |
def show_f2(repo,name,token):
|
@@ -287,8 +287,8 @@ with gr.Blocks(css=css) as build:
|
|
287 |
space_radio=gr.Radio(label="Spaces",choices=[])
|
288 |
with gr.Column(scale=1):
|
289 |
file_radio=gr.Radio(label="Files",choices=[])
|
290 |
-
space_info_json=gr.JSON()
|
291 |
space_runtime_json=gr.JSON()
|
|
|
292 |
with gr.Column(scale=2):
|
293 |
file_contents=gr.HTML()
|
294 |
with gr.Tab("View 2"):
|
|
|
91 |
return(gr.Dropdown.update(label="Files", choices=[f for f in f_ist],interactive=True),
|
92 |
file_list,
|
93 |
gr.update(choices=[f for f in f_ist],interactive=True),
|
94 |
+
api.space_info(f'{repo}/{name}',files_metadata=True),
|
95 |
api.get_space_runtim(f'{repo}/{name}'))
|
96 |
|
97 |
def show_f2(repo,name,token):
|
|
|
287 |
space_radio=gr.Radio(label="Spaces",choices=[])
|
288 |
with gr.Column(scale=1):
|
289 |
file_radio=gr.Radio(label="Files",choices=[])
|
|
|
290 |
space_runtime_json=gr.JSON()
|
291 |
+
space_info_json=gr.JSON()
|
292 |
with gr.Column(scale=2):
|
293 |
file_contents=gr.HTML()
|
294 |
with gr.Tab("View 2"):
|