MCPcopy Create free account
hub / github.com/PromtEngineer/localGPT / get_simple_pdf_processor

Function get_simple_pdf_processor

backend/simple_pdf_processor.py:202–207  ·  view source on GitHub ↗

Get the global PDF processor instance

()

Source from the content-addressed store, hash-verified

200 simple_pdf_processor = None
201
202def get_simple_pdf_processor():
203 """Get the global PDF processor instance"""
204 global simple_pdf_processor
205 if simple_pdf_processor is None:
206 initialize_simple_pdf_processor()
207 return simple_pdf_processor
208
209if __name__ == "__main__":
210 # Test the simple PDF processor

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected