Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,8 @@ import pandas as pd
|
|
7 |
import gradio as gr
|
8 |
|
9 |
# Load pre-trained Sentence Transformer model
|
10 |
-
model = SentenceTransformer('all-MiniLM-L6-v2')
|
|
|
11 |
|
12 |
# Load questions and answers from the CSV file
|
13 |
df = pd.read_csv('combined_questions_and_answers.csv')
|
|
|
7 |
import gradio as gr
|
8 |
|
9 |
# Load pre-trained Sentence Transformer model
|
10 |
+
#model = SentenceTransformer('all-MiniLM-L6-v2')
|
11 |
+
model = SentenceTransformer('LaBSE')
|
12 |
|
13 |
# Load questions and answers from the CSV file
|
14 |
df = pd.read_csv('combined_questions_and_answers.csv')
|