Spaces:
Runtime error
Runtime error
formatting
Browse files
app.py
CHANGED
@@ -30,12 +30,12 @@ for file_name in files:
|
|
30 |
captions.append(caption)
|
31 |
st.image(image, caption=caption)
|
32 |
|
33 |
-
st.divider()
|
34 |
-
|
35 |
if len(captions) > 0:
|
|
|
|
|
36 |
description = ' '.join(captions)
|
37 |
|
38 |
-
with st.spinner(f'Generating Photo for {description}'):
|
39 |
images = pipe(description, guidance_scale=image_gen_guidance, num_inference_steps=image_gen_steps).images
|
40 |
|
41 |
for image in images:
|
|
|
30 |
captions.append(caption)
|
31 |
st.image(image, caption=caption)
|
32 |
|
|
|
|
|
33 |
if len(captions) > 0:
|
34 |
+
st.divider()
|
35 |
+
|
36 |
description = ' '.join(captions)
|
37 |
|
38 |
+
with st.spinner(f'Generating Photo for "{description}"'):
|
39 |
images = pipe(description, guidance_scale=image_gen_guidance, num_inference_steps=image_gen_steps).images
|
40 |
|
41 |
for image in images:
|