JohnDoee commited on
Commit
991e981
·
1 Parent(s): 2d3bcab

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -16,7 +16,7 @@ app = FastAPI()
16
 
17
  # Load the original tokenizer from the base model
18
  original_tokenizer = AutoTokenizer.from_pretrained("tabularisai/multilingual-sentiment-analysis")
19
- model_path = "sentiment" # or "./sentiment"
20
 
21
  # Load the fine-tuned model (johndoee/sentiment) and pass the tokenizer explicitly
22
  multilingual_model = pipeline(
 
16
 
17
  # Load the original tokenizer from the base model
18
  original_tokenizer = AutoTokenizer.from_pretrained("tabularisai/multilingual-sentiment-analysis")
19
+ model_path = "./sentiment" # or "./sentiment"
20
 
21
  # Load the fine-tuned model (johndoee/sentiment) and pass the tokenizer explicitly
22
  multilingual_model = pipeline(