Update app.py
Browse files
app.py
CHANGED
|
@@ -223,10 +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")
|
| 227 |
out = Image.open(f"{rand_im}-vid_tmp_proc.png")
|
| 228 |
|
| 229 |
-
#rand_im = uuid.uuid4()
|
| 230 |
#image.save(f"{rand_im}-vid_tmp_proc.png")
|
| 231 |
#out = os.path.abspath(f"{rand_im}-vid_tmp_proc.png")
|
| 232 |
#out_url = f'https://omnibus_AI_or_Not_dev.hf.space/file={out}'
|
|
|
|
| 223 |
hid_box=gr.Textbox(visible=False)
|
| 224 |
|
| 225 |
def upd(image):
|
| 226 |
+
rand_im = uuid.uuid4()
|
| 227 |
image.save(f"{rand_im}-vid_tmp_proc.png")
|
| 228 |
out = Image.open(f"{rand_im}-vid_tmp_proc.png")
|
| 229 |
|
|
|
|
| 230 |
#image.save(f"{rand_im}-vid_tmp_proc.png")
|
| 231 |
#out = os.path.abspath(f"{rand_im}-vid_tmp_proc.png")
|
| 232 |
#out_url = f'https://omnibus_AI_or_Not_dev.hf.space/file={out}'
|