Skip to content

Commit 65111e0

Browse files
Update app.py
1 parent 6410fe2 commit 65111e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ def generate_image_via_api(prompt):
114114
st.warning(f"Summary generation failed: {e}")
115115
if extracted_text:
116116
summary = (f"This image contains: {caption}. "
117-
f"The following text is present: {extracted_text}")
117+
f"The following text is present: {extracted_text}")
118118
else:
119119
summary = (f"This image contains: {caption}. "
120-
f"No readable text was detected.")
120+
f"No readable text was detected.")
121121
st.info(f"**Summary:** {summary}")
122122

123123
with tab2:

0 commit comments

Comments
 (0)