Spaces:
Paused
Paused
| import gradio_client.utils as utils | |
| original_json_schema_to_python_type = utils._json_schema_to_python_type | |
| def patched_json_schema_to_python_type(schema, defs=None): | |
| if not isinstance(schema, dict): | |
| return "any" | |
| return original_json_schema_to_python_type(schema, defs) | |
| utils._json_schema_to_python_type = patched_json_schema_to_python_type |