sohojoe commited on
Commit
2f87c44
1 Parent(s): 7baa44d

document seed

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +4 -2
.DS_Store ADDED
Binary file (6.15 kB). View file
 
app.py CHANGED
@@ -85,7 +85,7 @@ def main(
85
  scale=3.0,
86
  n_samples=4,
87
  steps=25,
88
- seed=0
89
  ):
90
 
91
  if seed == None:
@@ -265,7 +265,7 @@ Try it out by uploading a few images/add text prompts and generate images of the
265
  with gr.Column(scale=1, min_width=200):
266
  steps = gr.Slider(5, 50, value=25, step=5, label="Steps")
267
  with gr.Column(scale=1, min_width=200):
268
- seed = gr.Number(None, label="Seed", precision=0)
269
  with gr.Row():
270
  output = gr.Gallery(label="Generated variations")
271
 
@@ -302,6 +302,8 @@ Try it out by uploading a few images/add text prompts and generate images of the
302
  ### Acknowledgements
303
 
304
  - I heavily build on Justin Pinkney's Experiments in Image Variation (see https://www.justinpinkney.com/image-variation-experiments). Please credit them if you use this work.
 
 
305
 
306
  """)
307
 
 
85
  scale=3.0,
86
  n_samples=4,
87
  steps=25,
88
+ seed=None
89
  ):
90
 
91
  if seed == None:
 
265
  with gr.Column(scale=1, min_width=200):
266
  steps = gr.Slider(5, 50, value=25, step=5, label="Steps")
267
  with gr.Column(scale=1, min_width=200):
268
+ seed = gr.Number(None, label="Seed (blank = random)", precision=0)
269
  with gr.Row():
270
  output = gr.Gallery(label="Generated variations")
271
 
 
302
  ### Acknowledgements
303
 
304
  - I heavily build on Justin Pinkney's Experiments in Image Variation (see https://www.justinpinkney.com/image-variation-experiments). Please credit them if you use this work.
305
+ - [CLIP] (https://openai.com/blog/clip/)
306
+ - [Stable Diffusion](https://github.com/CompVis/stable-diffusion)
307
 
308
  """)
309