tokeron commited on
Commit
f852cc5
·
verified ·
1 Parent(s): 5db3da7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +27 -27
app.py CHANGED
@@ -148,34 +148,34 @@ with gr.Blocks() as demo:
148
  trigger_mode="always_last",
149
  )
150
 
151
- examples = [
152
- [
153
- "A photo of an Aye-aye.",
154
- "Stable Diffusion 2.1",
155
- 42,
156
- 1
157
- ],
158
- [
159
- "A photo of an Beagle.",
160
- "Stable Diffusion 2.1",
161
- 42,
162
- 1
163
- ],
164
- [
165
- "A green cat and a blue dog.",
166
- "Stable Diffusion 2.1",
167
- 42,
168
- 1
169
- ],
170
- ]
171
 
172
- gr.Examples(
173
- examples=examples,
174
- inputs = [prompt, model, seed, skip],
175
- fn=generate_images,
176
- outputs=[gallery],
177
- cache_examples=True,
178
- )
179
 
180
  gr.Markdown(article)
181
 
 
148
  trigger_mode="always_last",
149
  )
150
 
151
+ # examples = [
152
+ # [
153
+ # "A photo of an Aye-aye.",
154
+ # "Stable Diffusion 2.1",
155
+ # 42,
156
+ # 1
157
+ # ],
158
+ # [
159
+ # "A photo of an Beagle.",
160
+ # "Stable Diffusion 2.1",
161
+ # 42,
162
+ # 1
163
+ # ],
164
+ # [
165
+ # "A green cat and a blue dog.",
166
+ # "Stable Diffusion 2.1",
167
+ # 42,
168
+ # 1
169
+ # ],
170
+ # ]
171
 
172
+ # gr.Examples(
173
+ # examples=examples,
174
+ # inputs = [prompt, model, seed, skip],
175
+ # fn=generate_images,
176
+ # outputs=[gallery],
177
+ # cache_examples=True,
178
+ # )
179
 
180
  gr.Markdown(article)
181