koaning commited on
Commit
5c52bc9
·
1 Parent(s): f7a8a43
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -148,7 +148,9 @@ def _():
148
 
149
 
150
  @app.cell
151
- def _(mo):
 
 
152
  text_input = mo.ui.text_area("Query can go here", label="Reference sentences")
153
  form = mo.md("""{text_input}""").batch(text_input=text_input).form()
154
  form
@@ -190,7 +192,9 @@ def _(X, cosine_similarity, form, mo, pl, texts, tfm):
190
 
191
 
192
  @app.cell
193
- def _(get_label, pl):
 
 
194
  pl.DataFrame(get_label())
195
  return
196
 
 
148
 
149
 
150
  @app.cell
151
+ def _(mo, should_stop):
152
+ mo.stop(should_stop)
153
+
154
  text_input = mo.ui.text_area("Query can go here", label="Reference sentences")
155
  form = mo.md("""{text_input}""").batch(text_input=text_input).form()
156
  form
 
192
 
193
 
194
  @app.cell
195
+ def _(get_label, mo, pl, should_stop):
196
+ mo.stop(should_stop)
197
+
198
  pl.DataFrame(get_label())
199
  return
200