Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- app.py +2 -2
- nozzle_selection_model.joblib +3 -0
app.py
CHANGED
|
@@ -6,10 +6,10 @@ import pandas as pd # For data manipulation
|
|
| 6 |
from flask import Flask, request, jsonify # For creating the Flask API
|
| 7 |
|
| 8 |
# Initialize Flask app with a name
|
| 9 |
-
nozzleselect_api = Flask("ABMs
|
| 10 |
|
| 11 |
# Load the trained prediction model
|
| 12 |
-
model = joblib.load("
|
| 13 |
|
| 14 |
# Define a route for the home page
|
| 15 |
@nozzleselect_api.get('/')
|
|
|
|
| 6 |
from flask import Flask, request, jsonify # For creating the Flask API
|
| 7 |
|
| 8 |
# Initialize Flask app with a name
|
| 9 |
+
nozzleselect_api = Flask("ABMs Nozzle Selection") #define the name of the app
|
| 10 |
|
| 11 |
# Load the trained prediction model
|
| 12 |
+
model = joblib.load("nozzle_selection_model.joblib") #define the location of the serialized model
|
| 13 |
|
| 14 |
# Define a route for the home page
|
| 15 |
@nozzleselect_api.get('/')
|
nozzle_selection_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c173c7107a24ef434cefd44a4d96abec5b39294f51e236a44c70ce7b5722139
|
| 3 |
+
size 73419
|