Omnibus commited on
Commit
c5c2ab6
1 Parent(s): 5a6ea10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -76,9 +76,10 @@ def star_fn(inp):
76
 
77
  outp=Image.open(output[0])
78
  outp.save(f"{uid}_pre_star.png")
79
- out = os.path.abspath(f"{uid}_pre_star.png")
80
- out_pre_url = f'https://omnibus-game-test.hf.space/file={out}'
81
- outp_bg=bg1(out_pre_url)
 
82
  width, height = outp_bg.size
83
  rat = width/height
84
  if width > height:
 
76
 
77
  outp=Image.open(output[0])
78
  outp.save(f"{uid}_pre_star.png")
79
+ #out = os.path.abspath(f"{uid}_pre_star.png")
80
+ #out_pre_url = f'https://omnibus-game-test.hf.space/file={out}'
81
+ outp_bg=bg1(f"{uid}_pre_star.png")
82
+ print(f'outp_bg:: {outp_bg}')
83
  width, height = outp_bg.size
84
  rat = width/height
85
  if width > height: