hongaik commited on
Commit
b52658c
1 Parent(s): 2bbae19

added encoding latin

Browse files
.ipynb_checkpoints/utils-checkpoint.py CHANGED
@@ -45,7 +45,7 @@ def get_single_prediction(text):
45
 
46
  def get_multiple_predictions(csv):
47
 
48
- df = pd.read_csv(csv)
49
  df.columns = ['sequence']
50
 
51
  df['sequence_clean'] = df['sequence'].str.lower().str.strip()
 
45
 
46
  def get_multiple_predictions(csv):
47
 
48
+ df = pd.read_csv(csv, encoding='latin')
49
  df.columns = ['sequence']
50
 
51
  df['sequence_clean'] = df['sequence'].str.lower().str.strip()
utils.py CHANGED
@@ -45,7 +45,7 @@ def get_single_prediction(text):
45
 
46
  def get_multiple_predictions(csv):
47
 
48
- df = pd.read_csv(csv)
49
  df.columns = ['sequence']
50
 
51
  df['sequence_clean'] = df['sequence'].str.lower().str.strip()
 
45
 
46
  def get_multiple_predictions(csv):
47
 
48
+ df = pd.read_csv(csv, encoding='latin')
49
  df.columns = ['sequence']
50
 
51
  df['sequence_clean'] = df['sequence'].str.lower().str.strip()