svjack commited on
Commit
12777c3
·
1 Parent(s): e69ac27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -84,5 +84,13 @@ with block:
84
  ips = [prompt, num_samples, image_resolution, sample_steps, seed]
85
  run_button.click(fn=process, inputs=ips, outputs=[result_gallery], show_progress = True)
86
 
 
 
 
 
 
 
 
 
87
 
88
  block.launch(server_name='0.0.0.0')
 
84
  ips = [prompt, num_samples, image_resolution, sample_steps, seed]
85
  run_button.click(fn=process, inputs=ips, outputs=[result_gallery], show_progress = True)
86
 
87
+ gr.Examples(
88
+ [
89
+ ["A lovely cat drinking a cup of tea", 1, 512, 8, 10],
90
+ ["Anthropomorphic cat dressed as a fire fighter", 1, 512, 8, 20],
91
+ ],
92
+ inputs = [prompt, num_samples, image_resolution, sample_steps, seed],
93
+ label = "Examples"
94
+ )
95
 
96
  block.launch(server_name='0.0.0.0')