xp3857 commited on
Commit
f439ae6
·
1 Parent(s): f3b4a31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def show_f(model_id,d_app,token):
28
  s_ist = (api.list_spaces(author=author))
29
  print (s_ist)
30
  file_j = open('tmp_j','w')
31
- file_j.writelines(s_ist)
32
  file_j.close()
33
  file_b = open('tmp_b','r')
34
  r_file = file_b.readlines()
 
28
  s_ist = (api.list_spaces(author=author))
29
  print (s_ist)
30
  file_j = open('tmp_j','w')
31
+ file_j.writelines(str(s_ist))
32
  file_j.close()
33
  file_b = open('tmp_b','r')
34
  r_file = file_b.readlines()