你好,我在运行web_demo时,报错AttributeError: 'Chatbot' object has no attribute 'style'.Did you mean: 'scale'?
报错出现在web_demo.py的第103行:
result_text = gr.components.Chatbot(label='Multi-round conversation History', value=[("", "Hi, What do you want to know about this image?")]).style(height=550)
我在尝试了以下几种方法但没有成功:
1.更新gradio后(目前版本4.1.2),没有解决这个问题
2.将.style(height=550)换成.scale(height=550)会报返回值为空;
3.将.style(height=550)直接去掉后,没有报错,但会有warning,最后会直接退出web_demo的运行
希望可以帮忙解决,谢谢!!
你好,我在运行
web_demo
时,报错AttributeError: 'Chatbot' object has no attribute 'style'.Did you mean: 'scale'?
报错出现在web_demo.py
的第103行:result_text = gr.components.Chatbot(label='Multi-round conversation History', value=[("", "Hi, What do you want to know about this image?")]).style(height=550)
我在尝试了以下几种方法但没有成功: 1.更新gradio
后(目前版本4.1.2),没有解决这个问题 2.将.style(height=550)
换成.scale(height=550)
会报返回值为空; 3.将.style(height=550)
直接去掉后,没有报错,但会有warning,最后会直接退出web_demo
的运行 希望可以帮忙解决,谢谢!!