Spaces:
Runtime error
Runtime error
fix: missing popper dir
Browse files
main.py
CHANGED
|
@@ -13,7 +13,7 @@ from transformers import pipeline
|
|
| 13 |
app = FastAPI()
|
| 14 |
|
| 15 |
"""## Poppler dir"""
|
| 16 |
-
poppler_path = "poppler-23.11.0/Library/bin"
|
| 17 |
|
| 18 |
|
| 19 |
@app.post("/classify")
|
|
|
|
| 13 |
app = FastAPI()
|
| 14 |
|
| 15 |
"""## Poppler dir"""
|
| 16 |
+
poppler_path = "/app/poppler-23.11.0/Library/bin"
|
| 17 |
|
| 18 |
|
| 19 |
@app.post("/classify")
|