Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ if uploaded_image is not None:
|
|
| 24 |
st.image(image, caption="Uploaded Image")
|
| 25 |
|
| 26 |
with st.spinner("Generating caption..."):
|
| 27 |
-
caption_result = caption(image
|
| 28 |
st.write("Image Caption:", caption_result[0]['generated_text'])
|
| 29 |
|
| 30 |
with st.spinner("Generating story..."):
|
|
|
|
| 24 |
st.image(image, caption="Uploaded Image")
|
| 25 |
|
| 26 |
with st.spinner("Generating caption..."):
|
| 27 |
+
caption_result = caption(image)
|
| 28 |
st.write("Image Caption:", caption_result[0]['generated_text'])
|
| 29 |
|
| 30 |
with st.spinner("Generating story..."):
|