ysharma HF staff commited on
Commit
398f0fc
1 Parent(s): d2d0309

update examples

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -66,13 +66,13 @@ with gr.Blocks() as demo:
66
  </p></div>""")
67
  gr.HTML("""<a href="https://huggingface.co/spaces/ysharma/pix2pix-zero-01?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate this Space and upgrade to a GPU for fast Inference & no queue<br>""")
68
 
69
- direction_html = gr.HTML(value="<h4>👇Upload a Dog or a Cat image to get started or simply Click one of the examples👇</h4>", visible=True)
70
  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():
 
66
  </p></div>""")
67
  gr.HTML("""<a href="https://huggingface.co/spaces/ysharma/pix2pix-zero-01?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate this Space and upgrade to a GPU for fast Inference & no queue<br>""")
68
 
69
+ direction_html = gr.HTML(value="<h4>👇Upload a Dog or a Cat image here to get started👇</h4>", visible=True)
70
  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():