piyk commited on
Commit
6015857
·
verified ·
1 Parent(s): 1ae1b00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -92,13 +92,13 @@ with gr.Blocks(css=css) as fluxobj:
92
  seed = gr.Slider(value=42, minimum=0, maximum=MAX_SEED, step=1, label="Seed", info="A starting point to initiate the generation process, put 0 for a random one")
93
  num_images_per_prompt = gr.Slider(label="Images Per Prompt", info="Number of Images to generate with the settings",minimum=1, maximum=4, step=1, value=1)
94
 
95
- gr.Examples(
96
- examples=examples,
97
- fn=generate_image,
98
- inputs=[promptx, num_inference_steps, height, width, guidance_scale, seed, num_images_per_prompt],
99
- outputs=[resultf],
100
- cache_examples=CACHE_EXAMPLES
101
- )
102
 
103
  gr.on(
104
  triggers=[
 
92
  seed = gr.Slider(value=42, minimum=0, maximum=MAX_SEED, step=1, label="Seed", info="A starting point to initiate the generation process, put 0 for a random one")
93
  num_images_per_prompt = gr.Slider(label="Images Per Prompt", info="Number of Images to generate with the settings",minimum=1, maximum=4, step=1, value=1)
94
 
95
+ # gr.Examples(
96
+ # examples=examples,
97
+ # fn=generate_image,
98
+ # inputs=[promptx, num_inference_steps, height, width, guidance_scale, seed, num_images_per_prompt],
99
+ # outputs=[resultf],
100
+ # cache_examples=CACHE_EXAMPLES
101
+ # )
102
 
103
  gr.on(
104
  triggers=[