fffiloni commited on
Commit
4a13b86
1 Parent(s): d8a3d97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -118,8 +118,11 @@ with gr.Blocks(css=css) as block:
118
 
119
  submit_btn = gr.Button("Train")
120
 
121
- image_output = gr.Gallery(label="Edited image")
122
- #text_output = gr.Image(label="trained status")
 
 
 
123
 
124
  gr.HTML(article)
125
 
 
118
 
119
  submit_btn = gr.Button("Train")
120
 
121
+ image_output = gr.Image(label="Edited image")
122
+
123
+ examples=[['a sitting dog','imagic-dog.png'], ['a photo of a bird spreading wings','imagic-bird.png']]
124
+ ex = gr.Examples(examples=examples, fn=infer, inputs=[prompt_input,image_init], outputs=[image_output], cache_examples=False, run_on_click=True)
125
+ ex.dataset.headers = [""]
126
 
127
  gr.HTML(article)
128