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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -41,10 +41,10 @@ def sky_fn(inp):
41
  #dif = models[0]
42
  uid=uuid.uuid4()
43
  output=proc1(inp,5,1)
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:
@@ -69,10 +69,10 @@ def star_fn(inp):
69
  output=proc2(inp,5,1)
70
  #output=proc2.send_it(inp,5,1)
71
  #output=dif(inp)
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:
 
41
  #dif = models[0]
42
  uid=uuid.uuid4()
43
  output=proc1(inp,5,1)
44
+ in_url=f'https://omnibus-fast-diff.hf.space/file={output[0]}'
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:
 
69
  output=proc2(inp,5,1)
70
  #output=proc2.send_it(inp,5,1)
71
  #output=dif(inp)
72
+ in_url=f'https://omnibus-fast-diff.hf.space/file={output[0]}'
73
 
74
  print(output)
75
+ outp=Image.open(in_url)
76
  width, height = outp.size
77
  rat = width/height
78
  if width > height: