-
Notifications
You must be signed in to change notification settings - Fork 44
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
The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead. #69
Comments
Same issue. |
version: v1.6.0 |
I think the developer has stopped maintaining this extension. |
@Amazon90 + with gr.Tab("Directions") as StyleTab:
+ gr.Gallery(value=ResultDirectionImages, show_label=False, columns=3)
- with gr.Tab("Directions") as StyleTab:
- gr.Gallery(value=ResultDirectionImages, show_label=False).style(
- grid=(3, 3, 3, 3, 4, 4), container=False)
+ with gr.Tab("Moods"):
+ gr.Gallery(value=ResultMoodImages, show_label=False, columns=3)
- with gr.Tab("Moods"):
- gr.Gallery(value=ResultMoodImages, show_label=False).style(
- grid=(3, 3, 3, 3, 4, 4), container=False)
+ with gr.Tab("Artists"):
+ gr.Gallery(value=ResultArtistImages, show_label=False, columns=3)
- with gr.Tab("Artists"):
- gr.Gallery(value=ResultArtistImages, show_label=False).style(
- grid=(2, 2, 2, 2, 3, 3), container=False)
+ with gr.Tab("Art movements"):
+ gr.Gallery(value=ArtMovementImages, show_label=False, columns=3)
- with gr.Tab("Art movements"):
- gr.Gallery(value=ArtMovementImages, show_label=False).style(
- grid=(3, 3, 3, 3, 4, 4), container=False)
+ with gr.Tab("Colors"):
+ gr.Gallery(value=ResultColorImages, show_label=False, columns=3)
- with gr.Tab("Colors"):
- gr.Gallery(value=ResultColorImages, show_label=False).style(
- grid=(3, 3, 3, 3, 4, 4), container=False) |
This worked for me but line was on 411 and hit error until I used original spacing on last two second lines ie gr.Gallery starts below space after with |
^^^Thanks for this by the way, |
Thx, PS just for other that may have same problem. 1- Dont make a copy of the /stable-diffusion-webui/extensions/StylePile/scripts/StylePile.py or at least dont keep it in there Now when you restart it will be ok. |
remove git diff + symble, with gr.Tab("Directions") as StyleTab:
gr.Gallery(value=ResultDirectionImages, show_label=False, columns=3)
with gr.Tab("Moods"):
gr.Gallery(value=ResultMoodImages, show_label=False, columns=3)
with gr.Tab("Artists"):
gr.Gallery(value=ResultArtistImages, show_label=False, columns=3)
with gr.Tab("Art movements"):
gr.Gallery(value=ArtMovementImages, show_label=False, columns=3)
with gr.Tab("Colors"):
gr.Gallery(value=ResultColorImages, show_label=False, columns=3) |
The text was updated successfully, but these errors were encountered: