Abineshkumar77 commited on
Commit
223eaa6
·
1 Parent(s): 8840785

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import time
5
  import torch
6
 
7
  # Load the tokenizer and ONNX model directly
8
- tokenizer = AutoTokenizer.from_pretrained("./model_onnx")
9
  model = ORTModelForSequenceClassification.from_pretrained("./model_onnx", file_name="model_quantized.onnx")
10
 
11
  app = FastAPI()
 
5
  import torch
6
 
7
  # Load the tokenizer and ONNX model directly
8
+ tokenizer = AutoTokenizer.from_pretrained("minhdang/model_onnx")
9
  model = ORTModelForSequenceClassification.from_pretrained("./model_onnx", file_name="model_quantized.onnx")
10
 
11
  app = FastAPI()