Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
from typing import List
|
2 |
from fastapi import FastAPI, HTTPException
|
3 |
from fastapi.responses import JSONResponse
|
|
|
4 |
import os
|
5 |
import json
|
6 |
-
|
7 |
-
import
|
|
|
8 |
|
9 |
BASE_DIR = "saved_data"
|
10 |
app = FastAPI()
|
|
|
1 |
from typing import List
|
2 |
from fastapi import FastAPI, HTTPException
|
3 |
from fastapi.responses import JSONResponse
|
4 |
+
from models import RequestModel
|
5 |
import os
|
6 |
import json
|
7 |
+
import cv2
|
8 |
+
import numpy as np
|
9 |
+
import httpx
|
10 |
|
11 |
BASE_DIR = "saved_data"
|
12 |
app = FastAPI()
|