Omnibus commited on
Commit
e04f9fe
1 Parent(s): fa62b45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -225,8 +225,9 @@ with gr.Blocks() as app:
225
  def upd(image):
226
  rand_im = uuid.uuid4()
227
  image.save(f"{rand_im}-vid_tmp_proc.png")
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={out}'
 
230
  return out_url
231
  inp.change(upd,inp,inp)
232
 
 
225
  def upd(image):
226
  rand_im = uuid.uuid4()
227
  image.save(f"{rand_im}-vid_tmp_proc.png")
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={out}'
230
+ out_url = f"{rand_im}-vid_tmp_proc.png"
231
  return out_url
232
  inp.change(upd,inp,inp)
233