Spaces:
Runtime error
Runtime error
camphong24032002
commited on
Commit
·
8a54154
1
Parent(s):
08ce47a
Test
Browse files
app.py
CHANGED
@@ -34,7 +34,6 @@ def df_to_text(df):
|
|
34 |
df = pd.read_csv("data/dataset.csv").reset_index(drop=True)
|
35 |
embedding_df = pd.read_csv("data/embedding.csv", header=None)
|
36 |
docs = embedding_df.values
|
37 |
-
text = input("Your search: ")
|
38 |
# text = "a white shirt for men"
|
39 |
|
40 |
model = SentenceTransformer("bert-base-nli-mean-tokens")
|
|
|
34 |
df = pd.read_csv("data/dataset.csv").reset_index(drop=True)
|
35 |
embedding_df = pd.read_csv("data/embedding.csv", header=None)
|
36 |
docs = embedding_df.values
|
|
|
37 |
# text = "a white shirt for men"
|
38 |
|
39 |
model = SentenceTransformer("bert-base-nli-mean-tokens")
|