File size: 241 Bytes
4a3c603
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
# 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'])