Gordon-H's picture
Create test.py
dc93325 verified
raw
history blame
449 Bytes
# test.py
import os
try:
with open("hiv_model.onnx", "rb") as f:
print("hiv_model.onnx loaded successfully")
with open("hiv_scaler.pkl", "rb") as f:
print("hiv_scaler.pkl loaded successfully")
except FileNotFoundError as e:
print(f"Error: {e}")
except Exception as e:
print(f"An unexpected error occurred: {e}")
print(f"Current working directory: {os.getcwd()}")
print(f"Files in current directory: {os.listdir()}")