james-oldfield commited on
Commit
32b433e
1 Parent(s): c5bcaa5

Add default image

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. default.png +0 -0
app.py CHANGED
@@ -36,7 +36,7 @@ def inference(seed, direction):
36
  demo = gr.Interface(
37
  fn=inference,
38
  inputs=[gr.Slider(0, 1000, value=64), gr.Dropdown(directions, value='no_eyebrows')],
39
- outputs=[gr.Image(type="pil", label="original | edited | mean-squared difference")],
40
  title="PandA (ICLR'23) - FFHQ edit zoo",
41
  description="Provides a quick interface to manipulate pre-annotated directions with pre-trained global parts and appearances factors. Note that we use the free CPU tier, so synthesis takes about 10 seconds.",
42
  article="Check out the full demo and paper at: <a href='https://github.com/james-oldfield/PandA'>https://github.com/james-oldfield/PandA</a>"
 
36
  demo = gr.Interface(
37
  fn=inference,
38
  inputs=[gr.Slider(0, 1000, value=64), gr.Dropdown(directions, value='no_eyebrows')],
39
+ outputs=[gr.Image(type="pil", value='./default.png', label="original | edited | mean-squared difference")],
40
  title="PandA (ICLR'23) - FFHQ edit zoo",
41
  description="Provides a quick interface to manipulate pre-annotated directions with pre-trained global parts and appearances factors. Note that we use the free CPU tier, so synthesis takes about 10 seconds.",
42
  article="Check out the full demo and paper at: <a href='https://github.com/james-oldfield/PandA'>https://github.com/james-oldfield/PandA</a>"
default.png ADDED