Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ log_reg.load_state_dict(weights['log_reg_state_dict'])
|
|
81 |
|
82 |
# Creating Model
|
83 |
model = BertClassifier(base_model, log_reg, num_labels=N_UNIQUE_CLASSES)
|
84 |
-
|
85 |
|
86 |
# Define a function to process the DNA sequence
|
87 |
def analyze_dna(sequence):
|
|
|
81 |
|
82 |
# Creating Model
|
83 |
model = BertClassifier(base_model, log_reg, num_labels=N_UNIQUE_CLASSES)
|
84 |
+
model.eval()
|
85 |
|
86 |
# Define a function to process the DNA sequence
|
87 |
def analyze_dna(sequence):
|