Spaces:
Build error
Build error
markdown sucks
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ st.sidebar.markdown(
|
|
46 |
Share your results on twitter with #redcaps or with a friend*.
|
47 |
"""
|
48 |
)
|
49 |
-
st.markdown(footer,unsafe_allow_html=True)
|
50 |
|
51 |
with st.spinner("Loading Model"):
|
52 |
virtexModel, imageLoader, sample_images, valid_subs = create_objects()
|
@@ -133,3 +133,12 @@ with center:
|
|
133 |
for i in range(num_captions):
|
134 |
gen_show_caption(sub, imageLoader.text_transform(cap_prompt))
|
135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
Share your results on twitter with #redcaps or with a friend*.
|
47 |
"""
|
48 |
)
|
49 |
+
# st.markdown(footer,unsafe_allow_html=True)
|
50 |
|
51 |
with st.spinner("Loading Model"):
|
52 |
virtexModel, imageLoader, sample_images, valid_subs = create_objects()
|
|
|
133 |
for i in range(num_captions):
|
134 |
gen_show_caption(sub, imageLoader.text_transform(cap_prompt))
|
135 |
|
136 |
+
st.sidebar.markdown(
|
137 |
+
"""
|
138 |
+
*Please note that this model was explicitly not trained on images of people, and as a result is not designed to caption images with humans.
|
139 |
+
|
140 |
+
This demo accompanies our paper RedCaps.
|
141 |
+
|
142 |
+
Created by Karan Desai, Gaurav Kaul, Zubin Aysola, Justin Johnson
|
143 |
+
"""
|
144 |
+
)
|