multimodalart HF staff commited on
Commit
7856e76
1 Parent(s): 255a6f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ with gr.Blocks(css=css, theme=theme) as demo:
57
  pag_scale = gr.Number(label="Pag Scale", value=3.0)
58
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
59
  seed = gr.Slider(minimum=1, maximum=18446744073709551615, step=1, randomize=True)
60
- gr.Examples(["", "an insect robot preparing a delicious meal, anime style", "a photo of a group of friends at an amusement park"], inputs=prompt, outputs=output)
61
  gr.on(
62
  triggers=[
63
  button.click,
 
57
  pag_scale = gr.Number(label="Pag Scale", value=3.0)
58
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
59
  seed = gr.Slider(minimum=1, maximum=18446744073709551615, step=1, randomize=True)
60
+ gr.Examples(fn=run, examples=["", "an insect robot preparing a delicious meal, anime style", "a photo of a group of friends at an amusement park"], inputs=prompt, outputs=output, cache_examples=True)
61
  gr.on(
62
  triggers=[
63
  button.click,