gradio问题

  1. gradio问题
    1. 问题一
    2. 问题二

gradio问题

问题一

  • 问题
    1
    2
    3
    # gradio 版本 3.40.0
    I:\tmp\git\ChatGLM2-6B\env\python\lib\site-packages\gradio_client\documentation.py:103: UserWarning: Could not get documentation group for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix'
    warnings.warn(f"Could not get documentation group for {cls}: {exc}")
  • 解决方案:
    1
    pip install gradio==3.50.2

问题二

  • 问题
    1
    2
    I:\tmp\git\ChatGLM2-6B\web_demo.py:89: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
    user_input = gr.Textbox(show_label=False, placeholder="Input...", lines=10).style(

微信:宏沉一笑
公众号:漫步之行

签名:Smile every day
名字:宏沉一笑
邮箱:whghcyx@outlook.com
个人网站:https://whg555.github.io



转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 whghcyx@outlook.com

文章标题:gradio问题

文章字数:164

本文作者:宏沉一笑

发布时间:2024-03-21, 08:57:24

最后更新:2024-03-21, 11:12:14

原始链接:https://whghcyx.gitee.io/2024/03/21/%E9%97%AE%E9%A2%98-2024-03-21-gradio%E9%97%AE%E9%A2%98/

版权声明: "署名-非商用-相同方式共享 4.0" 转载请保留原文链接及作者。

目录
×

喜欢就点赞,疼爱就打赏