Spaces:
Runtime error
Runtime error
no success
Browse files
app.py
CHANGED
@@ -27,7 +27,6 @@ with col1:
|
|
27 |
description = processor.decode(out[0], skip_special_tokens=True)
|
28 |
captions.append(description)
|
29 |
|
30 |
-
st.success("Image Captioned")
|
31 |
st.image(image, caption=description)
|
32 |
|
33 |
with col2:
|
@@ -37,6 +36,5 @@ with col2:
|
|
37 |
with st.spinner('Generating Photo from Caption'):
|
38 |
images = pipe(description, guidance_scale=image_gen_guidance, num_inference_steps=image_gen_steps).images
|
39 |
|
40 |
-
st.success("Image Generated")
|
41 |
for image in images:
|
42 |
st.image(image, caption=description)
|
|
|
27 |
description = processor.decode(out[0], skip_special_tokens=True)
|
28 |
captions.append(description)
|
29 |
|
|
|
30 |
st.image(image, caption=description)
|
31 |
|
32 |
with col2:
|
|
|
36 |
with st.spinner('Generating Photo from Caption'):
|
37 |
images = pipe(description, guidance_scale=image_gen_guidance, num_inference_steps=image_gen_steps).images
|
38 |
|
|
|
39 |
for image in images:
|
40 |
st.image(image, caption=description)
|