mawairon commited on
Commit
9b849f4
·
verified ·
1 Parent(s): a5105e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -79,6 +79,7 @@ log_reg.load_state_dict(weights['log_reg_state_dict'])
79
 
80
  # Creating Model
81
  model = BertClassifier(base_model, log_reg, num_labels=N_UNIQUE_CLASSES)
 
82
 
83
  # Define a function to process the DNA sequence
84
  def analyze_dna(sequence):
 
79
 
80
  # Creating Model
81
  model = BertClassifier(base_model, log_reg, num_labels=N_UNIQUE_CLASSES)
82
+ model.eval()
83
 
84
  # Define a function to process the DNA sequence
85
  def analyze_dna(sequence):