| title | Predict Z Factor |
|---|---|
| emoji | ⚡ |
| colorFrom | blue |
| colorTo | red |
| sdk | streamlit |
| sdk_version | 1.44.1 |
| app_file | src/app.py |
| pinned | false |
This Streamlit web application uses a TensorFlow-trained neural network to predict the gas compressibility factor (Z-factor) based on:
- Pressure (psia)
- Temperature (°R)
- Specific Gravity
It also uses a StandardScaler from Scikit-learn for data normalization.
- Input pressure, temperature, and specific gravity.
- Click the Predict Z-Factor button.
- The predicted Z-factor will be displayed below.
src/app.py: Main Streamlit applicationmodel/z_model_2025_04_15_v1.keras: Trained Keras modelmodel/scaler_z_2025_04_15.pkl: Scaler used for data preprocessingdata/...: Values are determining in this filerequirements.txt: Python dependencies.huggingface.yml: Hugging Face deployment configuration
This app is ready to be deployed on Hugging Face Spaces.