Paulina commited on
Commit
c68fe52
·
1 Parent(s): 47500b9

fix endpoint

Browse files
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -87,12 +87,12 @@ def create_interface():
87
  randomize=True,
88
  step=1,
89
  label="Seed",
90
- info="Random seed for reproducibility",
91
  ),
92
  gr.Slider(
93
  minimum=1,
94
  maximum=50,
95
- value=15,
96
  step=1,
97
  label="Diffusion Steps",
98
  info="Number of denoising steps (more steps = higher quality but slower)",
@@ -103,13 +103,7 @@ def create_interface():
103
  gr.Video(label="Diffusion Steps Video"),
104
  ],
105
  title="Stable Diffusion Image Generator",
106
- description="Generate images from text using Stable Diffusion. Enter a prompt, set the seed for reproducibility, and adjust the number of diffusion steps. Watch the diffusion process as a video.",
107
- examples=[
108
- ["A beautiful sunset over mountains", 42213, 50],
109
- ["A dog wearing a space suit, floating in space, hand-drawn illustration", 83289, 20],
110
- ["Cyberpunk city at night, neon lights", 12056, 40],
111
- ],
112
- cache_examples=False,
113
  )
114
 
115
  return interface
 
87
  randomize=True,
88
  step=1,
89
  label="Seed",
90
+ info="Random seed. Keep the same seed to generate the same image or leave it random to generate a new image each time.",
91
  ),
92
  gr.Slider(
93
  minimum=1,
94
  maximum=50,
95
+ value=30,
96
  step=1,
97
  label="Diffusion Steps",
98
  info="Number of denoising steps (more steps = higher quality but slower)",
 
103
  gr.Video(label="Diffusion Steps Video"),
104
  ],
105
  title="Stable Diffusion Image Generator",
106
+ description="Generates an image using Stable Diffusion 2 showing the diffusion process as a video.",
 
 
 
 
 
 
107
  )
108
 
109
  return interface