Spaces:
Sleeping
Sleeping
Oscar Wang
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import RobertaTokenizer, RobertaForSequenceClassification
|
|
3 |
import torch
|
4 |
|
5 |
# Load the model and tokenizer from the specified directory
|
6 |
-
model_path = '
|
7 |
tokenizer = RobertaTokenizer.from_pretrained(model_path)
|
8 |
model = RobertaForSequenceClassification.from_pretrained(model_path)
|
9 |
|
|
|
3 |
import torch
|
4 |
|
5 |
# Load the model and tokenizer from the specified directory
|
6 |
+
model_path = 'GoalZero/aidetection-ada-v0.1'
|
7 |
tokenizer = RobertaTokenizer.from_pretrained(model_path)
|
8 |
model = RobertaForSequenceClassification.from_pretrained(model_path)
|
9 |
|