Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 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=[
|