Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def generate(prompt, negative_prompt, qr_content, pattern_image, num_inference_s
|
|
| 43 |
st.error(str(e))
|
| 44 |
return
|
| 45 |
|
| 46 |
-
st.title("Illusion Diffusion
|
| 47 |
|
| 48 |
prompt = st.text_input("Prompt")
|
| 49 |
negative_prompt = st.text_input("Negative")
|
|
@@ -64,7 +64,7 @@ with st.sidebar.expander("Advanced Settings", expanded=True):
|
|
| 64 |
border = st.slider("border", min_value=0, max_value=4, step=1, value=4)
|
| 65 |
qrcode_background = st.selectbox("qrcode_background", options=['gray', 'white'], index=1)
|
| 66 |
|
| 67 |
-
if st.button("
|
| 68 |
with st.spinner("Running..."):
|
| 69 |
result_uris = generate(prompt, negative_prompt, qr_content, pattern_input, num_inference_steps, guidance_scale, width, height, seed, num_outputs, controlnet_conditioning_scale, border, qrcode_background)
|
| 70 |
for uri in result_uris:
|
|
|
|
| 43 |
st.error(str(e))
|
| 44 |
return
|
| 45 |
|
| 46 |
+
st.title("Illusion Diffusion by Aiconvert.online")
|
| 47 |
|
| 48 |
prompt = st.text_input("Prompt")
|
| 49 |
negative_prompt = st.text_input("Negative")
|
|
|
|
| 64 |
border = st.slider("border", min_value=0, max_value=4, step=1, value=4)
|
| 65 |
qrcode_background = st.selectbox("qrcode_background", options=['gray', 'white'], index=1)
|
| 66 |
|
| 67 |
+
if st.button("Generate"):
|
| 68 |
with st.spinner("Running..."):
|
| 69 |
result_uris = generate(prompt, negative_prompt, qr_content, pattern_input, num_inference_steps, guidance_scale, width, height, seed, num_outputs, controlnet_conditioning_scale, border, qrcode_background)
|
| 70 |
for uri in result_uris:
|