Commit
·
d6bc2ab
1
Parent(s):
263b291
Update main.py
Browse files
main.py
CHANGED
@@ -3,6 +3,7 @@ from fastapi.responses import JSONResponse, HTMLResponse
|
|
3 |
from fastapi.templating import Jinja2Templates
|
4 |
import joblib
|
5 |
import pandas as pd
|
|
|
6 |
from pydantic import BaseModel
|
7 |
from sklearn.pipeline import Pipeline
|
8 |
from sklearn.feature_selection import SelectKBest
|
@@ -14,6 +15,7 @@ from sklearn.feature_selection import f_classif
|
|
14 |
from sklearn.impute import SimpleImputer
|
15 |
|
16 |
|
|
|
17 |
app = FastAPI()
|
18 |
templates = Jinja2Templates(directory="templates")
|
19 |
|
|
|
3 |
from fastapi.templating import Jinja2Templates
|
4 |
import joblib
|
5 |
import pandas as pd
|
6 |
+
import numpy as np
|
7 |
from pydantic import BaseModel
|
8 |
from sklearn.pipeline import Pipeline
|
9 |
from sklearn.feature_selection import SelectKBest
|
|
|
15 |
from sklearn.impute import SimpleImputer
|
16 |
|
17 |
|
18 |
+
|
19 |
app = FastAPI()
|
20 |
templates = Jinja2Templates(directory="templates")
|
21 |
|