Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -20,7 +20,6 @@ def get_api_key(api_key: Optional[str] = Depends(api_key_header)):
|
|
| 20 |
return api_key
|
| 21 |
|
| 22 |
@app.post("/api/ocr", response_model=dict)
|
| 23 |
-
print("[outside]")
|
| 24 |
async def ocr(
|
| 25 |
# api_key: str = Depends(get_api_key),
|
| 26 |
image: UploadFile = File(...),
|
|
|
|
| 20 |
return api_key
|
| 21 |
|
| 22 |
@app.post("/api/ocr", response_model=dict)
|
|
|
|
| 23 |
async def ocr(
|
| 24 |
# api_key: str = Depends(get_api_key),
|
| 25 |
image: UploadFile = File(...),
|