rjadr commited on
Commit
5bda15d
1 Parent(s): 95bd107

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -225,6 +225,8 @@ def image_to_image(image, k=5):
225
  scores, samples = dataset.get_nearest_examples('img_embs', img_emb, k=k)
226
  return postprocess_results(scores, samples)
227
 
 
 
228
  def check_password():
229
  """Returns `True` if the user had the correct password."""
230
 
@@ -263,8 +265,6 @@ if check_password():
263
  image_model = load_img_model()
264
  text_model = load_txt_model()
265
 
266
- st.title("#ditaduranuncamais Data Explorer")
267
-
268
  tab1, tab2, tab3 = st.tabs(["Data exploration", "Semantic search", "Stats"])
269
 
270
  with tab1:
 
225
  scores, samples = dataset.get_nearest_examples('img_embs', img_emb, k=k)
226
  return postprocess_results(scores, samples)
227
 
228
+ st.title("#ditaduranuncamais Data Explorer")
229
+
230
  def check_password():
231
  """Returns `True` if the user had the correct password."""
232
 
 
265
  image_model = load_img_model()
266
  text_model = load_txt_model()
267
 
 
 
268
  tab1, tab2, tab3 = st.tabs(["Data exploration", "Semantic search", "Stats"])
269
 
270
  with tab1: