Spaces:
Runtime error
Runtime error
Commit
·
9557b7d
1
Parent(s):
f0d4a08
Update pages/Brain.py
Browse files- pages/Brain.py +1 -1
pages/Brain.py
CHANGED
|
@@ -17,7 +17,7 @@ from transformers import pipeline, set_seed
|
|
| 17 |
from transformers import BioGptTokenizer, BioGptForCausalLM
|
| 18 |
text_model = BioGptForCausalLM.from_pretrained("microsoft/biogpt")
|
| 19 |
tokenizer = BioGptTokenizer.from_pretrained("microsoft/biogpt")
|
| 20 |
-
labels_path = '
|
| 21 |
from captum.attr import DeepLift , visualization
|
| 22 |
|
| 23 |
with open(labels_path) as json_data:
|
|
|
|
| 17 |
from transformers import BioGptTokenizer, BioGptForCausalLM
|
| 18 |
text_model = BioGptForCausalLM.from_pretrained("microsoft/biogpt")
|
| 19 |
tokenizer = BioGptTokenizer.from_pretrained("microsoft/biogpt")
|
| 20 |
+
labels_path = 'brain_labels.json'
|
| 21 |
from captum.attr import DeepLift , visualization
|
| 22 |
|
| 23 |
with open(labels_path) as json_data:
|