■対処法
gradio をダウングレードしたら治った。
「4.12.0→3.47.0」
1.gradioのアンインストール
pip uninstall gradio
2.gradioのバージョンを指定してインストール
pip install gradio==3.47
■エラー
chatbot = gr.Chatbot().style(height=500)
^^^^^^^^^^^^^^^^^^
AttributeError: ‘Chatbot’ object has no attribute ‘style’. Did you mean: ‘scale’?
コメント