Spaces:
Sleeping
Sleeping
Update check.py
Browse files
check.py
CHANGED
@@ -8,6 +8,8 @@ from pdf2image import convert_from_bytes
|
|
8 |
from fastapi import FastAPI, UploadFile, File, HTTPException
|
9 |
from fastapi.responses import JSONResponse, StreamingResponse
|
10 |
import uvicorn
|
|
|
|
|
11 |
|
12 |
# Get API key from environment
|
13 |
GENAI_API_KEY = os.getenv("GENAI_API_KEY")
|
|
|
8 |
from fastapi import FastAPI, UploadFile, File, HTTPException
|
9 |
from fastapi.responses import JSONResponse, StreamingResponse
|
10 |
import uvicorn
|
11 |
+
from fastapi import APIRouter, HTTPException, Path
|
12 |
+
|
13 |
|
14 |
# Get API key from environment
|
15 |
GENAI_API_KEY = os.getenv("GENAI_API_KEY")
|