Skip to content
Snippets Groups Projects
Commit 2ac33e58 authored by Milson Sung's avatar Milson Sung
Browse files

update to requirement txt

parent b13f0196
No related branches found
No related tags found
No related merge requests found
fastapi absl-py==2.1.0
uvicorn annotated-types==0.7.0
pydantic anyio==4.8.0
numpy astunparse==1.6.3
pandas autokeras==1.0.20
autokeras axios==0.4.0
cachetools==5.5.1
certifi==2024.12.14
charset-normalizer==3.4.1
click==8.1.8
colorama==0.4.6
contourpy==1.3.0
cycler==0.12.1
exceptiongroup==1.2.2
fastapi==0.115.7
flatbuffers==25.1.24
fonttools==4.55.6
gast==0.4.0
google-auth==2.38.0
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
grpcio==1.70.0
h11==0.14.0
h5py==3.12.1
idna==3.10
importlib_metadata==8.6.1
importlib_resources==6.5.2
joblib==1.4.2
keras==2.10.0
Keras-Preprocessing==1.1.2
keras-tuner==1.4.7
kiwisolver==1.4.7
kt-legacy==1.0.5
libclang==18.1.1
lxml==5.3.0
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==3.0.2
matplotlib==3.9.4
mdurl==0.1.2
numpy==1.23.5
oauthlib==3.2.2
opt_einsum==3.4.0
packaging==24.2
pandas==2.2.3
pillow==11.1.0
protobuf==3.19.6
pyasn1==0.6.1
pyasn1_modules==0.4.1
pydantic==2.10.6
pydantic_core==2.27.2
Pygments==2.19.1
pyparsing==3.2.1
python-dateutil==2.9.0.post0
python-multipart==0.0.20
pytz==2024.2
requests==2.32.3
requests-oauthlib==2.0.0
rich==13.9.4
rsa==4.9
scikit-learn==1.5.1
scipy==1.13.1
six==1.17.0
sniffio==1.3.1
starlette==0.45.3
tensorboard==2.10.1
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow==2.10.1
tensorflow-estimator==2.10.0
tensorflow-io-gcs-filesystem==0.31.0
termcolor==2.5.0
threadpoolctl==3.5.0
typing_extensions==4.12.2
tzdata==2025.1
urllib3==2.3.0
uvicorn==0.34.0
Werkzeug==3.1.3
wrapt==1.17.2
zipp==3.21.0
import tensorflow as tf MODEL_DIRECTORY = "/backend/app/models/"
SCALER_DIRECTORY = "/backend/app/scalers/"
model_path = "C:\\Users\\User\\ML Predictor\\backend\\app\\trained_model\\random_model" os.makedirs(MODEL_DIRECTORY, exist_ok=True)
os.makedirs(SCALER_DIRECTORY, exist_ok=True)
try: \ No newline at end of file
model = tf.keras.models.load_model(model_path)
print("Model loaded successfully!")
except Exception as e:
print("Error loading model:", e)
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title> <title>Machine Learning Predictor</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
......
.container { .container {
max-width: 600px; max-width: 600px;
margin: 20px auto; margin: 20px auto;
......
// currently not needed
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment