Omnibus commited on
Commit
778fff5
1 Parent(s): 18ccd85

Update dl.py

Browse files
Files changed (1) hide show
  1. dl.py +2 -2
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}',file_metadata=True),
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"):