julian-schelb commited on
Commit
5b9fd43
·
verified ·
1 Parent(s): 80f0ce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  import torch
4
 
5
  # Load the model and tokenizer from Hugging Face Hub
6
- model_name = "julian-schelb/xlm-roberta-base-latin-intertextuality"
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
9
  device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
 
3
  import torch
4
 
5
  # Load the model and tokenizer from Hugging Face Hub
6
+ model_name = "julian-schelb/PhilBerta-latin-intertextuality"
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
9
  device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")