Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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):
|