Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
zhengr
/
ChatTTS-Forge
like
0
Sleeping
App
Files
Files
Community
f367757
ChatTTS-Forge
/
modules
/
gradio_dcls_fix.py
zhzluke96
update
627d3d7
6 months ago
raw
Copy download link
history
blame
Safe
215 Bytes
def
dcls_patch
():
from
gradio
import
data_classes
# https://github.com/gradio-app/gradio/pull/8530
data_classes.PredictBody.__get_pydantic_json_schema__ =
lambda
x, y: {
"type"
:
"object"
,
}