Omnibus commited on
Commit
8c209f3
1 Parent(s): 9bb8351

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -73,11 +73,11 @@ def star_fn(inp):
73
  print(output)
74
  outp=Image.open(output[0])
75
  #outp.save(f"{uid}_star.png")
76
-
77
  print("removing background")
78
- outbg=rm(outp)
79
  print("resizing")
80
- out = outbg.resize((24,24))
81
  #outbg.save(f"{uid}_star.png")
82
  #out = os.path.abspath(f"{uid}_star.png")
83
  #out_url = f'https://omnibus-game-test.hf.space/file={out}'
 
73
  print(output)
74
  outp=Image.open(output[0])
75
  #outp.save(f"{uid}_star.png")
76
+ outrs = outp.resize((24,24))
77
  print("removing background")
78
+ out=rm(outrs)
79
  print("resizing")
80
+
81
  #outbg.save(f"{uid}_star.png")
82
  #out = os.path.abspath(f"{uid}_star.png")
83
  #out_url = f'https://omnibus-game-test.hf.space/file={out}'