Omnibus commited on
Commit
547af19
1 Parent(s): 6205933

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -183,10 +183,11 @@ def load_space_status(r_name,token):
183
  api = HfApi(token=token)
184
  s_ist = (api.list_spaces(author=r_name))
185
  tt=False
186
- print(dir(s_ist[0]))
187
  out_html="<td><tr><th>Name</th><th>Status</th></tr>"
188
  for i,space in enumerate(s_ist):
189
  space_ea = space.id.split("/",1)[1]
 
190
  print(space.id)
191
  out_html+=f'<tr><td>{space.id}</td><td>{space.id}</td></tr>'
192
  out_html+="</td>"
 
183
  api = HfApi(token=token)
184
  s_ist = (api.list_spaces(author=r_name))
185
  tt=False
186
+ #print(dir(s_ist[0]))
187
  out_html="<td><tr><th>Name</th><th>Status</th></tr>"
188
  for i,space in enumerate(s_ist):
189
  space_ea = space.id.split("/",1)[1]
190
+ print(dir(space))
191
  print(space.id)
192
  out_html+=f'<tr><td>{space.id}</td><td>{space.id}</td></tr>'
193
  out_html+="</td>"