AfnanAl commited on
Commit
411b607
·
1 Parent(s): 0ddf119

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ custom_output_path="summaryAonnx/"
23
 
24
  #print(quantized_model)
25
  #modelO = quantize("AfnanAl/summaryAonnx")
26
- modelO=get_onnx_model(model_name, custom_output_path)
27
  modelO.config.max_length=512
28
  def summaryA(Text):
29
  tokenized_text = tokenizer.encode(Text,return_tensors="pt")
 
23
 
24
  #print(quantized_model)
25
  #modelO = quantize("AfnanAl/summaryAonnx")
26
+ modelO=get_onnx_model(model_name, custom_output_path,quantized=False)
27
  modelO.config.max_length=512
28
  def summaryA(Text):
29
  tokenized_text = tokenizer.encode(Text,return_tensors="pt")