merve HF Staff commited on
Commit
a8d27a3
·
1 Parent(s): 0d5748c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,4 +23,5 @@ output = gr.Gallery(label="Outputs").style(grid=(3,3))
23
  # customize interface
24
  title = "Dreambooth Demo on Dog Images"
25
  description = "This is a dreambooth model fine-tuned on dog images. To try it, input the concept with {sks dog}."
26
- gr.Interface(infer, inputs=["text"], outputs=[output]).launch()
 
 
23
  # customize interface
24
  title = "Dreambooth Demo on Dog Images"
25
  description = "This is a dreambooth model fine-tuned on dog images. To try it, input the concept with {sks dog}."
26
+ examples=[["sks dog wearing a pink hat"], ["sks dog on a surfboard"], ["sks dog in space"]]
27
+ gr.Interface(infer, inputs=["text"], outputs=[output], title=title, description=description, examples=examples, cache_examples=True).launch()