Upgrade promptui to conform to Gradio V4 (#98)
This commit is contained in:
committed by
GitHub
parent
797df5a69c
commit
1f927d3391
@@ -44,7 +44,7 @@ class VectorIndexing(BaseIndexing):
|
||||
qa_pipeline=CitationQAPipeline(**kwargs),
|
||||
)
|
||||
|
||||
def run(self, text: str | list[str] | Document | list[Document]) -> None:
|
||||
def run(self, text: str | list[str] | Document | list[Document]):
|
||||
input_: list[Document] = []
|
||||
if not isinstance(text, list):
|
||||
text = [text]
|
||||
|
Reference in New Issue
Block a user