vikvenk commited on
Commit
84b3dcf
1 Parent(s): 9040dbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ csv.field_size_limit(sys.maxsize)
19
 
20
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
21
 
22
- tokenizer = AutoTokenizer.from_pretrained("MarkAdamsMSBA24/ADRv2024")
23
- model = AutoModelForSequenceClassification.from_pretrained("MarkAdamsMSBA24/ADRv2024").to(device)
24
 
25
  # build a pipeline object to do predictions
26
  pred = transformers.pipeline("text-classification", model=model,
 
19
 
20
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
21
 
22
+ tokenizer = AutoTokenizer.from_pretrained("vikvenk/ADR_Detection")
23
+ model = AutoModelForSequenceClassification.from_pretrained("vikvenk/ADR_Detection").to(device)
24
 
25
  # build a pipeline object to do predictions
26
  pred = transformers.pipeline("text-classification", model=model,