Omnibus commited on
Commit
077ccc7
·
verified ·
1 Parent(s): 8df7d33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -35,8 +35,7 @@ def show_s(name,token):
35
  #print(s_info)
36
  spaces.append(space_ea)
37
  #print (space_ea)
38
- return(gr.update(label="Spaces", choices=[s for s in spaces]),
39
- gr.update(choices=[s for s in spaces],interactive=True))
40
  #gr.update(choices=[s for s in spaces],interactive=True))
41
 
42
  def show_f(repo,name,token):
@@ -98,7 +97,7 @@ def show_f(repo,name,token):
98
  f.close()
99
  '''
100
  return(gr.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
 
 
35
  #print(s_info)
36
  spaces.append(space_ea)
37
  #print (space_ea)
38
+ return(gr.update(label="Spaces", choices=[s for s in spaces]))
 
39
  #gr.update(choices=[s for s in spaces],interactive=True))
40
 
41
  def show_f(repo,name,token):
 
97
  f.close()
98
  '''
99
  return(gr.update(label="Files", choices=[f for f in f_ist],interactive=True),
100
+ #file_list,
101
  gr.update(choices=[f for f in f_ist],interactive=True),
102
  api.get_space_runtime(f'{repo}/{name}'))
103