Omnibus commited on
Commit
bef3dd5
1 Parent(s): 351a0d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -73,11 +73,11 @@ def star_fn(inp):
73
  print(output)
74
  #output=dif(inp)
75
  #in_url=f'https://omnibus-fast-diff.hf.space/file={output[0]}'
76
- output_bg=bg1(output[0])
77
  print(output_bg)
78
- outp=Image.open(output_bg)
79
-
80
- width, height = outp.size
81
  rat = width/height
82
  if width > height:
83
  outp = outp.resize((600*rat,600))
 
73
  print(output)
74
  #output=dif(inp)
75
  #in_url=f'https://omnibus-fast-diff.hf.space/file={output[0]}'
76
+
77
  print(output_bg)
78
+ outp=Image.open(output[0])
79
+ outp_bg=bg1(outp)
80
+ width, height = outp_bg.size
81
  rat = width/height
82
  if width > height:
83
  outp = outp.resize((600*rat,600))