Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,11 @@ from PIL import Image
|
|
3 |
|
4 |
st.title('Text-Image matching and Animal Classification via CLIP')
|
5 |
|
6 |
-
st.markdown("##
|
7 |
|
8 |
-
st.markdown("In this project, we use CLIP to achieve two tasks: text-image matching and animal classification.")
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
st.title('Text-Image matching and Animal Classification via CLIP')
|
5 |
|
6 |
+
st.markdown("## Overview")
|
7 |
|
8 |
+
st.markdown("Problem: In this project, we use CLIP to achieve two tasks: text-image matching and animal classification.")
|
9 |
+
|
10 |
+
st.markdown("When we were children, we all encountered some connecting questions, like in Figure 1, we need to match pictures and words together. In the text-image matching task, we will give some possible options and let our model identify which is the most likely option.")
|
11 |
+
|
12 |
+
figure1 = Image.open('images/img1.jpg')
|
13 |
+
st.image(figure1, caption='The text-image matching example. (1)')
|