Spaces:
Runtime error
Runtime error
Commit
·
3fe8d2e
1
Parent(s):
a4309ea
Update pages/Skin.py
Browse files- pages/Skin.py +1 -1
pages/Skin.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 = 'skin_labels.json'
|
21 |
from captum.attr import DeepLift , visualization
|
22 |
|
23 |
with open(labels_path) as json_data:
|