diff --git a/docs/samples/python/gliner.md b/docs/samples/python/gliner.md index ad9b170f3..13dfe11bc 100644 --- a/docs/samples/python/gliner.md +++ b/docs/samples/python/gliner.md @@ -43,7 +43,7 @@ nlp_engine = NlpEngineProvider( ) # Create an analyzer engine -analyzer_engine = AnalyzerEngine() +analyzer_engine = AnalyzerEngine(nlp_engine=nlp_engine.create_engine()) # Define and create the GLiNER recognizer entity_mapping = {