This is an automated email from the ASF dual-hosted git repository.

jin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-ai.git


The following commit(s) were added to refs/heads/main by this push:
     new 32abd2a  chore(llm): update gradio's version for pip (#235)
32abd2a is described below

commit 32abd2ab558606f794fd67675f51c543dec4e92a
Author: Linyu <94553312+weijing...@users.noreply.github.com>
AuthorDate: Thu May 15 16:31:24 2025 +0800

    chore(llm): update gradio's version for pip (#235)
    
    ## Dependency Update
    I try to run a graphrag demo presented in document. However, a error
    "ERROR: Error loading ASGI app factory: Code.__init__() got an
    unexpected keyword argument 'max_lines'" occured.
    
    
![image](https://github.com/user-attachments/assets/7ca7d663-5b62-400b-9794-bc6b20323e1c)
    After check gradio's document, I find that the Class Code in
    gradio(4.44.1) has not attribute (masx_lines). So, I update the
    dependency in requirement.txt
---
 hugegraph-llm/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hugegraph-llm/requirements.txt b/hugegraph-llm/requirements.txt
index 64dd382..7467ec6 100644
--- a/hugegraph-llm/requirements.txt
+++ b/hugegraph-llm/requirements.txt
@@ -4,7 +4,7 @@ qianfan~=0.3.18
 retry~=0.9.2
 tiktoken>=0.7.0
 nltk~=3.8.1
-gradio~=4.44.1
+gradio~=5.29.1
 jieba>=0.42.1
 numpy~=1.24.4
 python-docx~=1.1.2

Reply via email to