Update app.py
Browse files
app.py
CHANGED
@@ -23,3 +23,4 @@ title = "Pivotal Tuning for Latent-based editing of Real Images"
|
|
23 |
description = "Gradio Demo for Pivotal Tuning Inversion. To use it, simply upload your image. Ensure the image is 256 x 256 in size."
|
24 |
article = "<p style='text-align: center'><a href='https://github.com/danielroich/PTI' target='_blank'>Github Repo</a>"
|
25 |
gr.Interface(inference, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="pil"),title=title,description=description,article=article,allow_flagging='never',allow_screenshot=False).launch(share=True)
|
|
|
|
23 |
description = "Gradio Demo for Pivotal Tuning Inversion. To use it, simply upload your image. Ensure the image is 256 x 256 in size."
|
24 |
article = "<p style='text-align: center'><a href='https://github.com/danielroich/PTI' target='_blank'>Github Repo</a>"
|
25 |
gr.Interface(inference, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="pil"),title=title,description=description,article=article,allow_flagging='never',allow_screenshot=False).launch(share=True)
|
26 |
+
os.system("rm output/out.png")
|