Skip to content

gradio incompatibility #120

@EntityinArray

Description

@EntityinArray
(mapanything) C:\Users\entityinarray\Programs\map-anything>pip install -e ".[gradio]"

(mapanything) C:\Users\entityinarray\Programs\map-anything>python scripts/gradio_app.py
C:\Users\entityinarray\Programs\map-anything\scripts\gradio_app.py:1090: UserWarning: The parameters have been moved from the Blocks constructor to the launch() method in Gradio 6.0: theme, css. Please pass these parameters to launch() instead.
  with gr.Blocks(theme=theme, css=GRADIO_CSS) as demo:
Traceback (most recent call last):
  File "C:\Users\entityinarray\Programs\map-anything\scripts\gradio_app.py", line 1119, in <module>
    image_gallery = gr.Gallery(
                    ^^^^^^^^^^^
  File "C:\Users\entityinarray\miniconda3\envs\mapanything\Lib\site-packages\gradio\component_meta.py", line 194, in wrapper
    return fn(self, **kwargs)
           ^^^^^^^^^^^^^^^^^^
TypeError: Gallery.__init__() got an unexpected keyword argument 'show_download_button'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions