Spaces:
Sleeping
Sleeping
Update prompt element
Browse files
app.py
CHANGED
|
@@ -179,13 +179,15 @@ def main():
|
|
| 179 |
uploaded_image_A = st.file_uploader("Upload your first image", type=["png", "jpg", "jpeg"], key="imgA")
|
| 180 |
if uploaded_image_A is not None:
|
| 181 |
st.image(uploaded_image_A, caption="Preview - Image A", use_container_width=True)
|
| 182 |
-
prompt_A = st.text_input("
|
|
|
|
| 183 |
with col_imgB:
|
| 184 |
st.markdown("#### Image B")
|
| 185 |
uploaded_image_B = st.file_uploader("Upload your second image", type=["png", "jpg", "jpeg"], key="imgB")
|
| 186 |
if uploaded_image_B is not None:
|
| 187 |
st.image(uploaded_image_B, caption="Preview - Image B", use_container_width=True)
|
| 188 |
-
prompt_B = st.text_input("
|
|
|
|
| 189 |
|
| 190 |
st.markdown("<hr>", unsafe_allow_html=True)
|
| 191 |
|
|
|
|
| 179 |
uploaded_image_A = st.file_uploader("Upload your first image", type=["png", "jpg", "jpeg"], key="imgA")
|
| 180 |
if uploaded_image_A is not None:
|
| 181 |
st.image(uploaded_image_A, caption="Preview - Image A", use_container_width=True)
|
| 182 |
+
prompt_A = st.text_input("Short Description for Image A (optional)", value="", key="promptA",
|
| 183 |
+
help="For added interpolation between the two descriptions")
|
| 184 |
with col_imgB:
|
| 185 |
st.markdown("#### Image B")
|
| 186 |
uploaded_image_B = st.file_uploader("Upload your second image", type=["png", "jpg", "jpeg"], key="imgB")
|
| 187 |
if uploaded_image_B is not None:
|
| 188 |
st.image(uploaded_image_B, caption="Preview - Image B", use_container_width=True)
|
| 189 |
+
prompt_B = st.text_input("Short Description for Image B (optional)", value="", key="promptB",
|
| 190 |
+
help="For added interpolation between the two descriptions")
|
| 191 |
|
| 192 |
st.markdown("<hr>", unsafe_allow_html=True)
|
| 193 |
|