Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -175,6 +175,7 @@ def _(get_label, mo):
|
|
| 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({
|
|
|
|
| 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 |
+
mo.stop(form.value is None, "Need a query input to fetch example")
|
| 179 |
|
| 180 |
df_emb = (
|
| 181 |
pl.DataFrame({
|