Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brush Radius #65

Open
akileswarpaidi opened this issue Jan 4, 2024 · 3 comments
Open

Brush Radius #65

akileswarpaidi opened this issue Jan 4, 2024 · 3 comments

Comments

@akileswarpaidi
Copy link

Traceback (most recent call last):
File "c:\Users\Akil\Downloads\Painter-main\Painter-main\SegGPT\app_gradio.py", line 127, in
inputs=[gr.ImageMask(brush_radius=8, label="prompt (提示图)"), gr.Image(label="img1 (测试图1)"), gr.Image(label="img2 (测试图2)")],
File "C:\Users\Akil\Downloads\Painter-main\Painter-main\my_env\lib\site-packages\gradio\component_meta.py", line 157, in wrapper
return fn(self, **kwargs)
TypeError: init() got an unexpected keyword argument 'brush_radius'

@kpms-ignacio-traverso
Copy link

I am having the same issue

@joaobarros05
Copy link

Hi, @akileswarpaidi and @traverso-inspectifai . I was able to resolve this issue by installing the Gradio 3.22.1 version.

@Richard1Bob
Copy link

I have tried to install gradio to the specified version the way you did, but the result is the same:
Traceback (most recent call last):
File "E:\ScribblePrompt\ScribblePrompt-0.1.0\demos\app.py", line 450, in
scribble_img = gr.Image(
File "D:\ProgramData\Anaconda3\lib\site-packages\gradio\component_meta.py", line 167, in wrapper
return fn(self, **kwargs)
TypeError: init() got an unexpected keyword argument 'brush_radius'

Hi, @akileswarpaidi and @traverso-inspectifai . I was able to resolve this issue by installing the Gradio 3.22.1 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants