heerjtdev commited on
Commit
333f6d1
·
1 Parent(s): 5f91b6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,'pdf_file.name'.json)
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