awacke1 commited on
Commit
121c010
1 Parent(s): 86dad8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -21
app.py CHANGED
@@ -157,27 +157,6 @@ with st.form(key="generation_form"):
157
 
158
  run_button = st.form_submit_button("Run")
159
 
160
- if run_button:
161
- image_paths, seed, download_links = generate(
162
- prompt=prompt,
163
- negative_prompt=negative_prompt,
164
- use_negative_prompt=use_negative_prompt,
165
- seed=seed,
166
- width=width,
167
- height=height,
168
- guidance_scale=guidance_scale,
169
- randomize_seed=randomize_seed,
170
- )
171
-
172
- for image_path in image_paths:
173
- st.image(image_path, caption=prompt)
174
-
175
- for download_link in download_links:
176
- st.markdown(download_link, unsafe_allow_html=True)
177
-
178
- st.text(f"Seed: {seed}")
179
-
180
-
181
  def set_prompt(example):
182
  prompt.value = example
183
 
 
157
 
158
  run_button = st.form_submit_button("Run")
159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  def set_prompt(example):
161
  prompt.value = example
162