You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, just found a solution to this one from another github issue. First uninstall gradio using: "pip uninstall gradio" and then re installing version 3.50 by using : "pip install gradio==3.50" . I hope this helps someone else in future. Thanks to @fadyOne
07:25:20-999966 INFO Starting Text generation web UI
07:25:21-006964 INFO Loading the extension "gallery"
C:\chat\extensions\gallery\script.py:110: UserWarning: You have unused kwarg parameters in Textbox, please remove them: {'container': False}
filter_box = gr.Textbox(label='', placeholder='Filter', lines=1, max_lines=1, container=False, elem_id='gallery-filter-box')
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ C:\chat\server.py:254 in │
│ │
│ 253 # Launch the web UI │
│ ❱ 254 create_interface() │
│ 255 while True: │
│ │
│ C:\chat\server.py:157 in create_interface │
│ │
│ 156 extensions_module.create_extensions_tabs() # Extensions tabs │
│ ❱ 157 extensions_module.create_extensions_block() # Extensions block │
│ 158 │
│ │
│ C:\chat\modules\extensions.py:200 in create_extensions_block │
│ │
│ 199 extension, _ = row │
│ ❱ 200 extension.ui() │
│ 201 │
│ │
│ C:\chat\extensions\gallery\script.py:111 in ui │
│ │
│ 110 filter_box = gr.Textbox(label='', placeholder='Filter', lines=1, max_lines=1 │
│ ❱ 111 gr.ClearButton(filter_box, value='Clear', elem_classes='refresh-button') │
│ 112 update = gr.Button("Refresh", elem_classes='refresh-button') │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
AttributeError: module 'gradio' has no attribute 'ClearButton'
The text was updated successfully, but these errors were encountered: