Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -2,6 +2,7 @@ from fastapi import FastAPI, File, UploadFile, Request, Form
|
|
2 |
from fastapi.responses import JSONResponse
|
3 |
from fastapi.middleware.cors import CORSMiddleware
|
4 |
import uvicorn
|
|
|
5 |
from projects.DL_CatDog.DL_CatDog import preprocess_image, read_image, model_DL_CatDog
|
6 |
from projects.ML_StudentPerformance.ML_StudentPerformace import predict_student_performance, create_custom_data, form1
|
7 |
|
|
|
2 |
from fastapi.responses import JSONResponse
|
3 |
from fastapi.middleware.cors import CORSMiddleware
|
4 |
import uvicorn
|
5 |
+
import numpy as np
|
6 |
from projects.DL_CatDog.DL_CatDog import preprocess_image, read_image, model_DL_CatDog
|
7 |
from projects.ML_StudentPerformance.ML_StudentPerformace import predict_student_performance, create_custom_data, form1
|
8 |
|