Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def process_pdf(pdf_file, layoutlmv3_model_path=None):
|
|
| 38 |
pdf_path = pdf_file.name
|
| 39 |
|
| 40 |
# Run the pipeline
|
| 41 |
-
result = run_document_pipeline(pdf_path, layoutlmv3_model_path,'
|
| 42 |
|
| 43 |
if result is None:
|
| 44 |
return "❌ Error: Pipeline failed to process the PDF. Check console for details.", None
|
|
|
|
| 38 |
pdf_path = pdf_file.name
|
| 39 |
|
| 40 |
# Run the pipeline
|
| 41 |
+
result = run_document_pipeline(pdf_path, layoutlmv3_model_path, 'label_studio_import.json')
|
| 42 |
|
| 43 |
if result is None:
|
| 44 |
return "❌ Error: Pipeline failed to process the PDF. Check console for details.", None
|