SunderAli17 commited on
Commit
1799bc5
·
verified ·
1 Parent(s): 77281ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -21
app.py CHANGED
@@ -215,27 +215,27 @@ def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_ava
215
  intermediate_output = gr.Gallery(label='Output', elem_id="gallery", visible=args.dev)
216
 
217
 
218
- with gr.Row(), gr.Column():
219
- gr.Markdown("## Examples")
220
- example_inps = [
221
- [
222
- 'a high quality digital cartoon avatar eating ice cream',
223
- 'sample_img/image1.png',
224
- 0, 4, -1, 1
225
- ],
226
- [
227
- 'a high quality anime character with mountains and lakes in the background',
228
- 'sample_img/test1.jpg',
229
- 0, 4, -1, 1
230
- ],
231
- [
232
- 'a high quality photorealistic image with VR technology atmosphere, revolutionary exceptional magnum with remarkable details',
233
- 'sample_img/test24.jpg',
234
- 0, 4, -1, 1
235
- ]
236
- ]
237
- gr.Examples(examples=example_inps, inputs=[prompt, id_image, start_step, guidance, seed, true_cfg],
238
- label='fake CFG')
239
 
240
  generate_btn.click(
241
  fn=generate_image,
 
215
  intermediate_output = gr.Gallery(label='Output', elem_id="gallery", visible=args.dev)
216
 
217
 
218
+ # with gr.Row(), gr.Column():
219
+ # gr.Markdown("## Examples")
220
+ # example_inps = [
221
+ # [
222
+ # 'a high quality digital cartoon avatar eating ice cream',
223
+ # 'sample_img/image1.png',
224
+ # 0, 4, -1, 1
225
+ # ],
226
+ # [
227
+ # 'a high quality anime character with mountains and lakes in the background',
228
+ # 'sample_img/test1.jpg',
229
+ # 0, 4, -1, 1
230
+ # ],
231
+ # [
232
+ # 'a high quality photorealistic image with VR technology atmosphere, revolutionary exceptional magnum with remarkable details',
233
+ # 'sample_img/test24.jpg',
234
+ # 0, 4, -1, 1
235
+ # ]
236
+ # ]
237
+ # gr.Examples(examples=example_inps, inputs=[prompt, id_image, start_step, guidance, seed, true_cfg],
238
+ # label='fake CFG')
239
 
240
  generate_btn.click(
241
  fn=generate_image,