chattts / modules /gradio_dcls_fix.py
zhzluke96
update
8c22399
raw
history blame
162 Bytes
def dcls_patch():
from gradio import data_classes
data_classes.PredictBody.__get_pydantic_json_schema__ = lambda x, y: {
"type": "object",
}