Issues on Gradio 4.2.0

#1
by olyashok - opened

folim.py passes these to Component super constructor but those dont exist

root_url: str | None = None,
_skip_init_processing: bool = False,

also

Exception has occurred: ValidationError
1 validation error for FileData
path
Field required [type=missing, input_value={'name': '/tmp/tmpb92959v6.html', 'is_file': True}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.4/v/missing
File "/workspaces/sam/app.py", line 527, in
map = Folium(value=folium.Map(location=[25.7617, -80.1918]), height=400, root_url="https://cdn.jsdelivr.net/npm/leaflet@1/dist/")
pydantic_core._pydantic_core.ValidationError: 1 validation error for FileData
path
Field required [type=missing, input_value={'name': '/tmp/tmpb92959v6.html', 'is_file': True}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.4/v/missing

Sorry for the delay! Should be fixed now. Don't know what's going on with the deployed space though. It's working locally.

freddyaboulton changed discussion status to closed

Upgrade to version 0.0.6

Looks good! thanks!

Sign up or log in to comment