Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import torch
|
|
| 3 |
import numpy as np
|
| 4 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 5 |
from transformers import RobertaForSequenceClassification, RobertaTokenizer
|
| 6 |
-
from motif_tagging import
|
| 7 |
|
| 8 |
# custom fine-tuned sentiment model
|
| 9 |
sentiment_model = AutoModelForSequenceClassification.from_pretrained("SamanthaStorm/tether-sentiment")
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 5 |
from transformers import RobertaForSequenceClassification, RobertaTokenizer
|
| 6 |
+
from motif_tagging import detect_motifs
|
| 7 |
|
| 8 |
# custom fine-tuned sentiment model
|
| 9 |
sentiment_model = AutoModelForSequenceClassification.from_pretrained("SamanthaStorm/tether-sentiment")
|