Update app.py
Browse files
app.py
CHANGED
@@ -33,9 +33,9 @@ def dif_fn(inp):
|
|
33 |
#dif = models[0]
|
34 |
uid=uuid.uuid4()
|
35 |
output=diff.send_it(inp,5,1)
|
36 |
-
output=dif(inp)
|
37 |
print(output)
|
38 |
-
outp=Image.open(output)
|
39 |
width, height = outp.size
|
40 |
rat = width/height
|
41 |
if width > height:
|
|
|
33 |
#dif = models[0]
|
34 |
uid=uuid.uuid4()
|
35 |
output=diff.send_it(inp,5,1)
|
36 |
+
#output=dif(inp)
|
37 |
print(output)
|
38 |
+
outp=Image.open(output[0])
|
39 |
width, height = outp.size
|
40 |
rat = width/height
|
41 |
if width > height:
|