viv commited on
Commit
e3a5a1e
·
verified ·
1 Parent(s): c3b1f27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ model_path = 'viv/AIKIA' # Hugging Face model ID
7
  tokenizer = AutoTokenizer.from_pretrained(model_path) # Tokenizer from Hugging Face
8
 
9
  # Load the model from Hugging Face repository
10
- model = AutoModelForSequenceClassification.from_pretrained(model_path)
11
 
12
  # Preprocessing function for Greek text
13
  def preprocessing_greek(text):
 
7
  tokenizer = AutoTokenizer.from_pretrained(model_path) # Tokenizer from Hugging Face
8
 
9
  # Load the model from Hugging Face repository
10
+ model = AutoModelForSequenceClassification.from_pretrained(model_path, from_safetensors=False)
11
 
12
  # Preprocessing function for Greek text
13
  def preprocessing_greek(text):