Omnibus commited on
Commit
90037b8
1 Parent(s): 13fb4ad

Update dl.py

Browse files
Files changed (1) hide show
  1. dl.py +1 -1
dl.py CHANGED
@@ -100,7 +100,7 @@ def show_f(repo,name,token):
100
  return(gr.Dropdown.update(label="Files", choices=[f for f in f_ist],interactive=True),
101
  file_list,
102
  gr.update(choices=[f for f in f_ist],interactive=True),
103
- api.space_info(f'{repo}/{name}',files_metadata=True))
104
 
105
  def show_f2(repo,name,token):
106
  api = HfApi(token=token)
 
100
  return(gr.Dropdown.update(label="Files", choices=[f for f in f_ist],interactive=True),
101
  file_list,
102
  gr.update(choices=[f for f in f_ist],interactive=True),
103
+ api.get_space_runtime(f'{repo}/{name}'))
104
 
105
  def show_f2(repo,name,token):
106
  api = HfApi(token=token)