When i tried in google colab it is working but in streamlit share it shows error the files are not found?

OSError: Error no file named ['pytorch_model.bin', 'tf_model.h5', 'model.ckpt.index', 'flax_model.msgpack'] found in directory riskclassification_finetuned_xlnet_model_ld or `from_tf` and `from_flax` set to False.
2024-02-24 09:27:58.108 503 GET /script-health-check (10.13.26.147) 415.80ms
2024-02-24 09:28:02.719 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/s2/app.py", line 135, in <module>
    main()
  File "/mount/src/s2/app.py", line 97, in main
    cls_model =AutoModelForSequenceClassification.from_pretrained("riskclassification_finetuned_xlnet_model_ld")
  File "/home/adminuser/venv/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 388, in from_pretrained
    return model_class.from_pretrained(pretrained_model_name_or_path, *model_args, config=config, **kwargs)
  File "/home/adminuser/venv/lib/python3.9/site-packages/transformers/modeling_utils.py", line 1222, in from_pretrained
    raise EnvironmentError(
OSError: Error no file named ['pytorch_model.bin', 'tf_model.h5', 'model.ckpt.index', 'flax_model.msgpack'] found in directory riskclassification_finetuned_xlnet_model_ld or `from_tf` and `from_flax` set to False.
2024-02-24 09:28:02.721 503 GET /script-health-check (10.13.26.147) 8.17ms
2024-02-24 09:28:07.801 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/s2/app.py", line 135, in <module>
    main()
  File "/mount/src/s2/app.py", line 97, in main
    cls_model =AutoModelForSequenceClassification.from_pretrained("riskclassification_finetuned_xlnet_model_ld")
  File "/home/adminuser/venv/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 388, in from_pretrained
    return model_class.from_pretrained(pretrained_model_name_or_path, *model_args, config=config, **kwargs)

My streamlit url is https://4ro6vn5delfqfmbahqu7ye.streamlit.app/
My github url is GitHub - Tallamjayaram/s2