在 gradioui.py中,注释掉以下几句
with open("docs/web_ui.md", "r") as f: article = f.read() gr.Markdown(article)
然后控制台启动,即可正常查看了
(rag) D:\RAGDemo\history_rag-master>python gradioui.py
Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True in launch().
在 gradioui.py中,注释掉以下几句
with open("docs/web_ui.md", "r") as f: article = f.read() gr.Markdown(article)
然后控制台启动,即可正常查看了 (rag) D:\RAGDemo\history_rag-master>python gradioui.py Running on local URL: http://127.0.0.1:7860To create a public link, set
share=True
inlaunch()
.