Spaces:
Running
Running
Update dl.py
Browse files
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.
|
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)
|