Update app.py
Browse files
app.py
CHANGED
|
@@ -76,9 +76,10 @@ def star_fn(inp):
|
|
| 76 |
|
| 77 |
outp=Image.open(output[0])
|
| 78 |
outp.save(f"{uid}_pre_star.png")
|
| 79 |
-
out = os.path.abspath(f"{uid}_pre_star.png")
|
| 80 |
-
out_pre_url = f'https://omnibus-game-test.hf.space/file={out}'
|
| 81 |
-
outp_bg=bg1(
|
|
|
|
| 82 |
width, height = outp_bg.size
|
| 83 |
rat = width/height
|
| 84 |
if width > height:
|
|
|
|
| 76 |
|
| 77 |
outp=Image.open(output[0])
|
| 78 |
outp.save(f"{uid}_pre_star.png")
|
| 79 |
+
#out = os.path.abspath(f"{uid}_pre_star.png")
|
| 80 |
+
#out_pre_url = f'https://omnibus-game-test.hf.space/file={out}'
|
| 81 |
+
outp_bg=bg1(f"{uid}_pre_star.png")
|
| 82 |
+
print(f'outp_bg:: {outp_bg}')
|
| 83 |
width, height = outp_bg.size
|
| 84 |
rat = width/height
|
| 85 |
if width > height:
|