# coding=utf-8 | |
""" | |
huggingface默认gradio版本是3.1.7。在多tab下的chatbot报错。因此需要更新到3.12.0 | |
https://www.kingname.info/2019/10/29/pip-in-code/ | |
""" | |
from pip._internal import main | |
main(['install', 'gradio==3.12.0']) |
# coding=utf-8 | |
""" | |
huggingface默认gradio版本是3.1.7。在多tab下的chatbot报错。因此需要更新到3.12.0 | |
https://www.kingname.info/2019/10/29/pip-in-code/ | |
""" | |
from pip._internal import main | |
main(['install', 'gradio==3.12.0']) |