Oscar Wang commited on
Commit
c04abc5
·
verified ·
1 Parent(s): 9310331

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = './finetuned_roberta'
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