Update app.py
Browse files
app.py
CHANGED
@@ -23,9 +23,9 @@ notification_method_choices = ["No Notification", "Email", "Phone"]
|
|
23 |
inspection_performed_choices = ["Yes", "No"]
|
24 |
letter_sent_choices = ["Yes", "No"]
|
25 |
|
26 |
-
# Download the ONNX model and tokenizer from Hugging Face Hub
|
27 |
onnx_model_path = hf_hub_download(
|
28 |
-
repo_id="iimran/Case-Next-Best-Action-Classifier", filename="
|
29 |
)
|
30 |
tokenizer_path = hf_hub_download(
|
31 |
repo_id="iimran/Case-Next-Best-Action-Classifier", filename="train_bpe_tokenizer.json"
|
|
|
23 |
inspection_performed_choices = ["Yes", "No"]
|
24 |
letter_sent_choices = ["Yes", "No"]
|
25 |
|
26 |
+
# Download the ONNX model and tokenizer from Hugging Face Hub using the correct file name "nba.onnx"
|
27 |
onnx_model_path = hf_hub_download(
|
28 |
+
repo_id="iimran/Case-Next-Best-Action-Classifier", filename="nba.onnx"
|
29 |
)
|
30 |
tokenizer_path = hf_hub_download(
|
31 |
repo_id="iimran/Case-Next-Best-Action-Classifier", filename="train_bpe_tokenizer.json"
|