File size: 449 Bytes
dc93325
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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()}")