Spaces:
Runtime error
Runtime error
added missing @ sign
Browse files
main.py
CHANGED
|
@@ -29,7 +29,7 @@ app = FastAPI(lifespan=lifespan)
|
|
| 29 |
def api_home():
|
| 30 |
return {'detail': 'Welcome to Sinhala OCR Space'}
|
| 31 |
|
| 32 |
-
app.post("/apply-trocr")
|
| 33 |
async def ApplyOCR(file: UploadFile):
|
| 34 |
try:
|
| 35 |
# Read the uploaded image file
|
|
|
|
| 29 |
def api_home():
|
| 30 |
return {'detail': 'Welcome to Sinhala OCR Space'}
|
| 31 |
|
| 32 |
+
@app.post("/apply-trocr")
|
| 33 |
async def ApplyOCR(file: UploadFile):
|
| 34 |
try:
|
| 35 |
# Read the uploaded image file
|