kplug / gradio_patch.py
xu-song's picture
rebuild
4a3c603
raw
history blame
241 Bytes
# 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'])