ucalyptus commited on
Commit
4c8bbc4
1 Parent(s): 454970e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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. Please use a cropped portrait picture for best results similar to the examples below."
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)