kplug / gradio_patch.py
xusong28
upgrade gradio to 3.12.0
5b47e63
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'])