multimodalart HF staff commited on
Commit
4d37d0f
1 Parent(s): abe43c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -21
app.py CHANGED
@@ -186,38 +186,38 @@ block = gr.Blocks(css=css)
186
  examples = [
187
  [
188
  'A high tech solarpunk utopia in the Amazon rainforest',
189
- 4,
190
- 45,
191
- 7.5,
192
- 1024,
193
  ],
194
  [
195
  'A pikachu fine dining with a view to the Eiffel Tower',
196
- 4,
197
- 45,
198
- 7,
199
- 1024,
200
  ],
201
  [
202
  'A mecha robot in a favela in expressionist style',
203
- 4,
204
- 45,
205
- 7,
206
- 1024,
207
  ],
208
  [
209
  'an insect robot preparing a delicious meal',
210
- 4,
211
- 45,
212
- 7,
213
- 1024,
214
  ],
215
  [
216
  "A small cabin on top of a snowy mountain in the style of Disney, artstation",
217
- 4,
218
- 45,
219
- 7,
220
- 1024,
221
  ],
222
  ]
223
 
@@ -334,7 +334,6 @@ with block:
334
  ex = gr.Examples(examples=examples, fn=infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=False)
335
  ex.dataset.headers = [""]
336
 
337
-
338
  text.submit(infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], postprocess=False)
339
  btn.click(infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], postprocess=False)
340
 
 
186
  examples = [
187
  [
188
  'A high tech solarpunk utopia in the Amazon rainforest',
189
+ # 4,
190
+ # 45,
191
+ # 7.5,
192
+ # 1024,
193
  ],
194
  [
195
  'A pikachu fine dining with a view to the Eiffel Tower',
196
+ # 4,
197
+ # 45,
198
+ # 7,
199
+ # 1024,
200
  ],
201
  [
202
  'A mecha robot in a favela in expressionist style',
203
+ # 4,
204
+ # 45,
205
+ # 7,
206
+ # 1024,
207
  ],
208
  [
209
  'an insect robot preparing a delicious meal',
210
+ # 4,
211
+ # 45,
212
+ # 7,
213
+ # 1024,
214
  ],
215
  [
216
  "A small cabin on top of a snowy mountain in the style of Disney, artstation",
217
+ # 4,
218
+ # 45,
219
+ # 7,
220
+ # 1024,
221
  ],
222
  ]
223
 
 
334
  ex = gr.Examples(examples=examples, fn=infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=False)
335
  ex.dataset.headers = [""]
336
 
 
337
  text.submit(infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], postprocess=False)
338
  btn.click(infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], postprocess=False)
339