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

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ 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()
12
 
 
6
 
7
  # Load the tokenizer and ONNX model directly
8
  tokenizer = AutoTokenizer.from_pretrained("minhdang/model_onnx")
9
+ model = ORTModelForSequenceClassification.from_pretrained("minhdang/model_onnx", file_name="model_quantized.onnx")
10
 
11
  app = FastAPI()
12