Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import os
|
|
9 |
csv_file_path = os.path.join(os.getcwd(), 'Analytics_Vidhya_Free_Course_data.csv')
|
10 |
|
11 |
# Load the dataset
|
12 |
-
df = pd.read_csv(csv_file_path, encoding='
|
13 |
|
14 |
# Load the pre-trained model for embeddings (using SentenceTransformers)
|
15 |
model = SentenceTransformer('multi-qa-mpnet-base-dot-v1')
|
|
|
9 |
csv_file_path = os.path.join(os.getcwd(), 'Analytics_Vidhya_Free_Course_data.csv')
|
10 |
|
11 |
# Load the dataset
|
12 |
+
df = pd.read_csv(csv_file_path, encoding='ISO-8859-1')
|
13 |
|
14 |
# Load the pre-trained model for embeddings (using SentenceTransformers)
|
15 |
model = SentenceTransformer('multi-qa-mpnet-base-dot-v1')
|