Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
os.system("
|
3 |
from fastapi import FastAPI, File, Request, UploadFile, Body, Depends, HTTPException
|
4 |
from fastapi.security.api_key import APIKeyHeader
|
5 |
from typing import Optional, Annotated
|
|
|
1 |
import os
|
2 |
+
os.system("apt-get install tesseract-ocr")
|
3 |
from fastapi import FastAPI, File, Request, UploadFile, Body, Depends, HTTPException
|
4 |
from fastapi.security.api_key import APIKeyHeader
|
5 |
from typing import Optional, Annotated
|