Omnibus commited on
Commit
84de997
1 Parent(s): bda1fee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,7 +44,7 @@ def sky_fn(inp):
44
  in_url=f'https://omnibus-fast-diff.hf.space/file={output}'
45
  #output=dif(inp)
46
  print(output)
47
- outp=Image.open(in_url)
48
  width, height = outp.size
49
  rat = width/height
50
  if width > height:
@@ -72,7 +72,7 @@ def star_fn(inp):
72
  in_url=f'https://omnibus-fast-diff.hf.space/file={output}'
73
 
74
  print(output)
75
- outp=Image.open(in_url)
76
  width, height = outp.size
77
  rat = width/height
78
  if width > height:
 
44
  in_url=f'https://omnibus-fast-diff.hf.space/file={output}'
45
  #output=dif(inp)
46
  print(output)
47
+ outp=Image.open(in_url[0])
48
  width, height = outp.size
49
  rat = width/height
50
  if width > height:
 
72
  in_url=f'https://omnibus-fast-diff.hf.space/file={output}'
73
 
74
  print(output)
75
+ outp=Image.open(in_url[0])
76
  width, height = outp.size
77
  rat = width/height
78
  if width > height: