Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -213,7 +213,7 @@ if torch.cuda.is_available():
|
|
213 |
else:
|
214 |
device = 'cpu'
|
215 |
|
216 |
-
df = pd.read_csv('
|
217 |
question_corpus = list(df['question_corpus'])
|
218 |
seg_question_corpus = list(df['seg_question_corpus'])
|
219 |
Sim_CSE_model = SentenceTransformer('VoVanPhuc/sup-SimCSE-VietNamese-phobert-base')
|
|
|
213 |
else:
|
214 |
device = 'cpu'
|
215 |
|
216 |
+
df = pd.read_csv('./source/corpus.csv')
|
217 |
question_corpus = list(df['question_corpus'])
|
218 |
seg_question_corpus = list(df['seg_question_corpus'])
|
219 |
Sim_CSE_model = SentenceTransformer('VoVanPhuc/sup-SimCSE-VietNamese-phobert-base')
|