koaning commited on
Commit
4bc6e0d
·
verified ·
1 Parent(s): 0400f77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ def _(get_label, mo):
174
 
175
  @app.cell
176
  def _(X, cosine_similarity, form, mo, pl, texts, tfm):
177
- mo.stop(not form.value["text_input"], "Need a text input to fetch example")
178
 
179
  df_emb = (
180
  pl.DataFrame({
 
174
 
175
  @app.cell
176
  def _(X, cosine_similarity, form, mo, pl, texts, tfm):
177
+ mo.stop(form is None, "Need a query input to fetch example")
178
 
179
  df_emb = (
180
  pl.DataFrame({