Omnibus commited on
Commit
7a237a8
1 Parent(s): cbb5d23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -223,9 +223,10 @@ with gr.Blocks() as app:
223
  hid_box=gr.Textbox(visible=False)
224
 
225
  def upd(image):
226
- Image.save(f"{rand_im}-vid_tmp_proc.png", image)
227
- out = os.path.abspath(f"{rand_im}-vid_tmp_proc.png")
228
- out_url = f'https://omnibus_AI_or_Not_dev.hf.space/file={out}'
 
229
  return out_url
230
  inp.change(upd,inp,inp)
231
 
 
223
  hid_box=gr.Textbox(visible=False)
224
 
225
  def upd(image):
226
+
227
+ #Image.save(f"{rand_im}-vid_tmp_proc.png", image)
228
+ #out = os.path.abspath(f"{rand_im}-vid_tmp_proc.png")
229
+ out_url = f'https://omnibus_AI_or_Not_dev.hf.space/file={image}'
230
  return out_url
231
  inp.change(upd,inp,inp)
232