Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def dif_fn(inp):
|
|
| 37 |
elif width < height:
|
| 38 |
outp = outp.resize((800,800*rat))
|
| 39 |
else:
|
| 40 |
-
outp = outp.resize((800,
|
| 41 |
outp.save(f"{uid}_sky.png")
|
| 42 |
out = os.path.abspath(f"{uid}_sky.png")
|
| 43 |
out_url = f'https://omnibus-game-test.hf.space/file={out}'
|
|
|
|
| 37 |
elif width < height:
|
| 38 |
outp = outp.resize((800,800*rat))
|
| 39 |
else:
|
| 40 |
+
outp = outp.resize((800,536))
|
| 41 |
outp.save(f"{uid}_sky.png")
|
| 42 |
out = os.path.abspath(f"{uid}_sky.png")
|
| 43 |
out_url = f'https://omnibus-game-test.hf.space/file={out}'
|