Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
xu-song
/
kplug
like
2
Runtime error
App
Files
Files
Community
b1e3874
kplug
/
gradio_patch.py
xu-song
rebuild
4a3c603
4 months ago
raw
Copy download link
history
blame
Safe
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'
])