Picsart-AI-Research / HD-Painter

HD-Painter: High-Resolution and Prompt-Faithful Text-Guided Image Inpainting with Diffusion Models
https://arxiv.org/abs/2312.14091
MIT License
269 stars 11 forks source link

encounting a wierd issue #13

Closed ThisRookie closed 6 months ago

ThisRookie commented 6 months ago

TypeError: event_trigger() got an unexpected keyword argument '_js'

ThisRookie commented 6 months ago
demo.load(_js=js_str)
AndranikSargsyan commented 6 months ago

Hello. What is the version of Gradio you are using? If it's different than version 3.47.1 , please try reinstalling Gradio by running

pip install gradio==3.47.1
ThisRookie commented 6 months ago

Hello. What is the version of Gradio you are using? If it's different than version 3.47.1 , please try reinstalling Gradio by running

pip install gradio==3.47.1

The solution works for my case, thank you!