xp3857 commited on
Commit
8306ffa
·
1 Parent(s): e7ce7c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -26,7 +26,14 @@ def show_f(model_id,d_app,token):
26
  author=model_id.split("/",1)[0]
27
  s_list = (api.list_spaces(author=author))
28
  print (s_list)
29
- print (s_list.get('id'))
 
 
 
 
 
 
 
30
 
31
  def load_space(model_id,d_app):
32
  uid = uuid.uuid4()
 
26
  author=model_id.split("/",1)[0]
27
  s_list = (api.list_spaces(author=author))
28
  print (s_list)
29
+
30
+ for key, value in s_list.items():
31
+ if key == 'id':
32
+ print (value)
33
+
34
+
35
+
36
+
37
 
38
  def load_space(model_id,d_app):
39
  uid = uuid.uuid4()