Spaces:
Runtime error
Runtime error
gchhablani
commited on
Commit
•
44fd978
1
Parent(s):
abbfb41
Add logo
Browse files- app.py +3 -3
- misc/Multilingual VQA.svg +0 -0
- misc/sic-logo.png +0 -0
- sections/abstract.md +0 -4
app.py
CHANGED
@@ -48,7 +48,7 @@ st.set_page_config(
|
|
48 |
page_title="Spanish Image Captioning",
|
49 |
layout="wide",
|
50 |
initial_sidebar_state="collapsed",
|
51 |
-
page_icon="./misc/
|
52 |
)
|
53 |
|
54 |
st.title("Spanish Image Captioning")
|
@@ -63,7 +63,7 @@ top_p = st.sidebar.select_slider("Top-P", options = list(np.arange(0.0,1.1, step
|
|
63 |
|
64 |
|
65 |
image_col, intro_col = st.beta_columns([3, 8])
|
66 |
-
|
67 |
intro_col.write(read_markdown("intro.md"))
|
68 |
|
69 |
with st.beta_expander("Usage"):
|
@@ -117,7 +117,7 @@ if new_col2.button("Get a random example", help="Get a random example from one o
|
|
117 |
image_path = os.path.join("images", state.image_file)
|
118 |
image = plt.imread(image_path)
|
119 |
state.image = image
|
120 |
-
|
121 |
# Display Reference Caption
|
122 |
new_col2.write("**Reference Caption**: " + state.caption)
|
123 |
new_col2.markdown(
|
48 |
page_title="Spanish Image Captioning",
|
49 |
layout="wide",
|
50 |
initial_sidebar_state="collapsed",
|
51 |
+
page_icon="./misc/csi-logo.png",
|
52 |
)
|
53 |
|
54 |
st.title("Spanish Image Captioning")
|
63 |
|
64 |
|
65 |
image_col, intro_col = st.beta_columns([3, 8])
|
66 |
+
image_col.image("./misc/sic-logo.png", use_column_width="always")
|
67 |
intro_col.write(read_markdown("intro.md"))
|
68 |
|
69 |
with st.beta_expander("Usage"):
|
117 |
image_path = os.path.join("images", state.image_file)
|
118 |
image = plt.imread(image_path)
|
119 |
state.image = image
|
120 |
+
|
121 |
# Display Reference Caption
|
122 |
new_col2.write("**Reference Caption**: " + state.caption)
|
123 |
new_col2.markdown(
|
misc/Multilingual VQA.svg
ADDED
misc/sic-logo.png
ADDED
sections/abstract.md
CHANGED
@@ -1,4 +0,0 @@
|
|
1 |
-
# Social Impact
|
2 |
-
Being able to automatically describe the content of an image using properly formed sentences in any language is a challenging task, but it could have great impact by helping visually impaired people better understand their surroundings.
|
3 |
-
|
4 |
-
Our initial plan was to work with a low-resource language - Marathi. However, the existing translations do not perform as well and we would have received poor labels and hence we did not pursue this further.
|
|
|
|
|
|
|
|