Omnibus commited on
Commit
b21c75d
1 Parent(s): 75a1978

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -46,11 +46,11 @@ def dif_fn(inp):
46
  outp = outp.resize((800,800*rat))
47
  else:
48
  outp = outp.resize((800,536))
49
- #outp.save(f"{uid}_sky.png")
50
- #out = os.path.abspath(f"{uid}_sky.png")
51
  out = os.path.abspath(outp)
52
  out_url = f'https://omnibus-game-test.hf.space/file={out}'
53
- return output[0],out_url
54
 
55
  with gr.Blocks() as app:
56
  with gr.Row():
 
46
  outp = outp.resize((800,800*rat))
47
  else:
48
  outp = outp.resize((800,536))
49
+ outp.save(f"{uid}_sky.png")
50
+ out = os.path.abspath(f"{uid}_sky.png")
51
  out = os.path.abspath(outp)
52
  out_url = f'https://omnibus-game-test.hf.space/file={out}'
53
+ return outp,out_url
54
 
55
  with gr.Blocks() as app:
56
  with gr.Row():