srisweet commited on
Commit
d92e39c
β€’
1 Parent(s): b0cc17a

Update text2image.py

Browse files
Files changed (1) hide show
  1. text2image.py +5 -3
text2image.py CHANGED
@@ -113,13 +113,15 @@ def app():
113
  st.markdown(
114
  """
115
 
 
116
  πŸ‘‹ Ciao! Here you can type Italian query and search from ~150k images in the Conceptual Captions (CC) dataset or 25k Photos in the Unsplash dataset.
117
 
118
  Though these images were not used for training the model, you will see most queries make sense.
 
119
  Rare errors might be due to 2 possibilities:
120
- the model is answering in a wrong way or the image you are looking for are not in the dataset & the model is giving you the best answer it can get.
121
 
122
- You can choose from one of the following examples...
123
  """
124
  )
125
 
@@ -155,7 +157,7 @@ def app():
155
 
156
  col1, col2 = st.beta_columns([3, 1])
157
  with col1:
158
- query = st.text_input("... or insert an Italian query text")
159
  with col2:
160
  dataset_name = st.selectbox("IR dataset", ["CC", "Unsplash"])
161
 
 
113
  st.markdown(
114
  """
115
 
116
+
117
  πŸ‘‹ Ciao! Here you can type Italian query and search from ~150k images in the Conceptual Captions (CC) dataset or 25k Photos in the Unsplash dataset.
118
 
119
  Though these images were not used for training the model, you will see most queries make sense.
120
+
121
  Rare errors might be due to 2 possibilities:
122
+ a)The model is answering in a wrong way or b) the image you are looking for are not in the dataset & the model is giving you the best answer it can get.
123
 
124
+ You can choose from one of the following examples :
125
  """
126
  )
127
 
 
157
 
158
  col1, col2 = st.beta_columns([3, 1])
159
  with col1:
160
+ query = st.text_input("Or insert an Italian query text")
161
  with col2:
162
  dataset_name = st.selectbox("IR dataset", ["CC", "Unsplash"])
163