mominah commited on
Commit
aab9adc
·
verified ·
1 Parent(s): 8ab9404

Update check.py

Browse files
Files changed (1) hide show
  1. check.py +2 -0
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")