Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,6 @@ def inference(img):
|
|
20 |
return Image.open("output/out.png")
|
21 |
|
22 |
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.
|
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)
|
|
|
20 |
return Image.open("output/out.png")
|
21 |
|
22 |
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)
|