CreativeChatGLM icon indicating copy to clipboard operation
CreativeChatGLM copied to clipboard

warnings.warn(f"Unknown style parameter: {key}")

Open zz10247 opened this issue 1 year ago • 1 comments

/root/autodl-tmp/CreativeChatGLM/tutorial-env1/lib/python3.10/site-packages/gradio/components.py:148: UserWarning: Unknown style parameter: height warnings.warn(f"Unknown style parameter: {key}")

运行以后出现这个问题,可以进入界面,一输入就报错

zz10247 avatar Apr 11 '23 05:04 zz10247

我的 gradio 的版本是 3.25.0,可以正常运行:

--------------------Collect environment info--------------------
sys.platform: win32
Python: 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)]
Python executable: C:\ProgramData\Miniconda3\python.exe
PyTorch: 1.13.1+cu117
Gradio: 3.25.0
Transformers: 4.28.0.dev0
GPU 0: NVIDIA GeForce RTX 4090
------------------------------Done------------------------------

此外,之前发布的离线包版本是 3.22.1,也是可以运行的:

你可以检查自己的 gradio 版本,我也更新了一下 requirements.txt

ypwhs avatar Apr 11 '23 12:04 ypwhs