Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -23,7 +23,7 @@ def get_api_key(api_key: Optional[str] = Depends(api_key_header)):
|
|
| 23 |
async def ocr(
|
| 24 |
api_key: str = Depends(get_api_key),
|
| 25 |
image: UploadFile = File(...),
|
| 26 |
-
|
| 27 |
# request: Request,
|
| 28 |
# body: dict = Body(...),
|
| 29 |
):
|
|
|
|
| 23 |
async def ocr(
|
| 24 |
api_key: str = Depends(get_api_key),
|
| 25 |
image: UploadFile = File(...),
|
| 26 |
+
languages: list = Body(["eng"])
|
| 27 |
# request: Request,
|
| 28 |
# body: dict = Body(...),
|
| 29 |
):
|