Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -136,13 +136,13 @@ def sample_images():
|
|
| 136 |
}
|
| 137 |
|
| 138 |
# Button to load sample images
|
| 139 |
-
if st.button("Load
|
| 140 |
|
| 141 |
sample_image = Image.open(example_image).convert('RGB')
|
| 142 |
-
st.image(sample_image, caption=f"
|
| 143 |
|
| 144 |
# Text input for each sample image
|
| 145 |
-
text_input = st.text_area(f"Input Question
|
| 146 |
|
| 147 |
# Predict button for each sample image
|
| 148 |
if st.button(f"Predict"):
|
|
|
|
| 136 |
}
|
| 137 |
|
| 138 |
# Button to load sample images
|
| 139 |
+
if st.button("Load Example Images"):
|
| 140 |
|
| 141 |
sample_image = Image.open(example_image).convert('RGB')
|
| 142 |
+
st.image(sample_image, caption=f"Example Image", use_column_width=True)
|
| 143 |
|
| 144 |
# Text input for each sample image
|
| 145 |
+
text_input = st.text_area(f"Input Question:")
|
| 146 |
|
| 147 |
# Predict button for each sample image
|
| 148 |
if st.button(f"Predict"):
|