ysharma HF Staff commited on
Commit
2f8d44a
·
1 Parent(s): 3556bb1

update examples

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,8 +71,8 @@ with gr.Blocks() as demo:
71
  image_in = gr.Image(type="pil", label="Start by uploading an image of a Cat or a Dog that you want to translate")
72
  with gr.Box():
73
  gr.Examples( examples=[os.path.join(os.path.dirname(__file__), "dog11.jpg"), os.path.join(os.path.dirname(__file__), "cat11.jpg")],
74
- inputs=image_in,
75
- fn=inversion,)
76
  with gr.Column():
77
  btn_inversion = gr.Button("Get input noise and image caption",visible=False )
78
  with gr.Row():
 
71
  image_in = gr.Image(type="pil", label="Start by uploading an image of a Cat or a Dog that you want to translate")
72
  with gr.Box():
73
  gr.Examples( examples=[os.path.join(os.path.dirname(__file__), "dog11.jpg"), os.path.join(os.path.dirname(__file__), "cat11.jpg")],
74
+ inputs=image_in,)
75
+ #fn=inversion,)
76
  with gr.Column():
77
  btn_inversion = gr.Button("Get input noise and image caption",visible=False )
78
  with gr.Row():