Spaces:
Running
on
Zero
Running
on
Zero
gradio 5.21.0
Browse files- README.md +1 -1
- app.py +1 -1
- style_20250128.css → style_20250314.css +127 -127
README.md
CHANGED
@@ -5,7 +5,7 @@ colorFrom: yellow
|
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
python_version: 3.10.13
|
8 |
-
sdk_version: 5.
|
9 |
app_file: app.py
|
10 |
pinned: false
|
11 |
short_description: Transform Your Images into Mesmerizing Hexagon Grids
|
|
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
python_version: 3.10.13
|
8 |
+
sdk_version: 5.21.0
|
9 |
app_file: app.py
|
10 |
pinned: false
|
11 |
short_description: Transform Your Images into Mesmerizing Hexagon Grids
|
app.py
CHANGED
@@ -641,7 +641,7 @@ def getVersions():
|
|
641 |
run_lora.zerogpu = True
|
642 |
gr.set_static_paths(paths=["images/","images/images","images/prerendered","LUT/","fonts/", "assets/"])
|
643 |
title = "Hex Game Maker"
|
644 |
-
with gr.Blocks(css_paths="
|
645 |
with gr.Row():
|
646 |
gr.Markdown("""
|
647 |
# Hex Game Maker Development Features
|
|
|
641 |
run_lora.zerogpu = True
|
642 |
gr.set_static_paths(paths=["images/","images/images","images/prerendered","LUT/","fonts/", "assets/"])
|
643 |
title = "Hex Game Maker"
|
644 |
+
with gr.Blocks(css_paths="style_20250314.css", title=title, theme='Surn/beeuty', delete_cache=(43200, 43200), head_paths="head.htm") as app:
|
645 |
with gr.Row():
|
646 |
gr.Markdown("""
|
647 |
# Hex Game Maker Development Features
|
style_20250128.css → style_20250314.css
RENAMED
@@ -1,128 +1,128 @@
|
|
1 |
-
.interface-wrapper {
|
2 |
-
max-width: 1024px;
|
3 |
-
margin: 0 auto;
|
4 |
-
}
|
5 |
-
|
6 |
-
.centered {
|
7 |
-
margin: 0 auto;
|
8 |
-
display: block;
|
9 |
-
}
|
10 |
-
|
11 |
-
.solid {
|
12 |
-
opacity: 1.0 !important;
|
13 |
-
height: auto !important;
|
14 |
-
}
|
15 |
-
|
16 |
-
.intro {
|
17 |
-
font-size: 1.2em !important;
|
18 |
-
font-weight: bold;
|
19 |
-
text-align: center;
|
20 |
-
background-color: rgba(242, 218, 163, 0.62);
|
21 |
-
}
|
22 |
-
|
23 |
-
.dark .gradio-container.gradio-container-5-
|
24 |
-
background-color: rgba(41, 18, 5, 0.38) !important;
|
25 |
-
}
|
26 |
-
|
27 |
-
.small {
|
28 |
-
font-size: smaller !important;
|
29 |
-
text-align: center;
|
30 |
-
}
|
31 |
-
|
32 |
-
.imgcontainer img {
|
33 |
-
object-fit: contain !important;
|
34 |
-
}
|
35 |
-
|
36 |
-
#examples {
|
37 |
-
font-weight: bolder;
|
38 |
-
}
|
39 |
-
|
40 |
-
--background-fill-primary: #FBCE50 !important;
|
41 |
-
#col-container {
|
42 |
-
max-width: 1024px;
|
43 |
-
margin-left: auto;
|
44 |
-
margin-right: auto;
|
45 |
-
}
|
46 |
-
|
47 |
-
a {
|
48 |
-
text-decoration-line: underline;
|
49 |
-
font-weight: 600;
|
50 |
-
}
|
51 |
-
|
52 |
-
#btn-generate {
|
53 |
-
background-image: linear-gradient(to right bottom, rgb(157, 255, 157), rgb(229, 255, 235));
|
54 |
-
color: var(--block-background-fill);
|
55 |
-
}
|
56 |
-
|
57 |
-
#btn-generate:hover {
|
58 |
-
background-image: linear-gradient(to right bottom, rgb(229, 255, 229), rgb(255, 255, 255));
|
59 |
-
}
|
60 |
-
|
61 |
-
#btn-generate:active {
|
62 |
-
background-image: linear-gradient(to right bottom, rgb(229, 255, 235), rgb(157, 255, 157));
|
63 |
-
}
|
64 |
-
|
65 |
-
#versions {
|
66 |
-
margin-top: 1em;
|
67 |
-
width: 100%;
|
68 |
-
text-align: center;
|
69 |
-
}
|
70 |
-
|
71 |
-
.small-btn {
|
72 |
-
max-width: 75px;
|
73 |
-
}
|
74 |
-
|
75 |
-
#gallery .thumbnails {
|
76 |
-
flex-direction: column !important;
|
77 |
-
display: inline-flex !important;
|
78 |
-
flex-wrap: wrap !important;
|
79 |
-
position: relative !important;
|
80 |
-
}
|
81 |
-
|
82 |
-
#gallery caption.caption {
|
83 |
-
flex-direction: row !important;
|
84 |
-
display: inline-flex !important;
|
85 |
-
flex-wrap: wrap;
|
86 |
-
white-space: unset !important;
|
87 |
-
}
|
88 |
-
|
89 |
-
#gallery .image-button img.with-caption {
|
90 |
-
object-fit: cover !important;
|
91 |
-
object-position: center !important;
|
92 |
-
}
|
93 |
-
|
94 |
-
#gallery button.preview {
|
95 |
-
position: relative !important;
|
96 |
-
}
|
97 |
-
|
98 |
-
.gradio-container::before {
|
99 |
-
content: ' ';
|
100 |
-
display: block;
|
101 |
-
position: absolute;
|
102 |
-
left: 0;
|
103 |
-
top: 0;
|
104 |
-
width: 100%;
|
105 |
-
height: 100%;
|
106 |
-
opacity: 0.25;
|
107 |
-
background-image: url('gradio_api/file=./images/logo.png');
|
108 |
-
background-repeat: no-repeat;
|
109 |
-
background-position: 50% 0;
|
110 |
-
background-size: cover;
|
111 |
-
background-color: rgba(0,0,0,0.9);
|
112 |
-
}
|
113 |
-
|
114 |
-
#component-0, #component-1 {
|
115 |
-
opacity: 0.9;
|
116 |
-
}
|
117 |
-
|
118 |
-
#excluded_colors {
|
119 |
-
width: 95%;
|
120 |
-
margin: 0 auto;
|
121 |
-
font-size: smaller;
|
122 |
-
}
|
123 |
-
|
124 |
-
@media only screen and (min-width: 1920px) {
|
125 |
-
.gradio-container, .gradio-container::before {
|
126 |
-
max-width: 1920px !important;
|
127 |
-
}
|
128 |
}
|
|
|
1 |
+
.interface-wrapper {
|
2 |
+
max-width: 1024px;
|
3 |
+
margin: 0 auto;
|
4 |
+
}
|
5 |
+
|
6 |
+
.centered {
|
7 |
+
margin: 0 auto;
|
8 |
+
display: block;
|
9 |
+
}
|
10 |
+
|
11 |
+
.solid {
|
12 |
+
opacity: 1.0 !important;
|
13 |
+
height: auto !important;
|
14 |
+
}
|
15 |
+
|
16 |
+
.intro {
|
17 |
+
font-size: 1.2em !important;
|
18 |
+
font-weight: bold;
|
19 |
+
text-align: center;
|
20 |
+
background-color: rgba(242, 218, 163, 0.62);
|
21 |
+
}
|
22 |
+
|
23 |
+
.dark .gradio-container.gradio-container-5-21.0 .contain .intro {
|
24 |
+
background-color: rgba(41, 18, 5, 0.38) !important;
|
25 |
+
}
|
26 |
+
|
27 |
+
.small {
|
28 |
+
font-size: smaller !important;
|
29 |
+
text-align: center;
|
30 |
+
}
|
31 |
+
|
32 |
+
.imgcontainer img {
|
33 |
+
object-fit: contain !important;
|
34 |
+
}
|
35 |
+
|
36 |
+
#examples {
|
37 |
+
font-weight: bolder;
|
38 |
+
}
|
39 |
+
|
40 |
+
--background-fill-primary: #FBCE50 !important;
|
41 |
+
#col-container {
|
42 |
+
max-width: 1024px;
|
43 |
+
margin-left: auto;
|
44 |
+
margin-right: auto;
|
45 |
+
}
|
46 |
+
|
47 |
+
a {
|
48 |
+
text-decoration-line: underline;
|
49 |
+
font-weight: 600;
|
50 |
+
}
|
51 |
+
|
52 |
+
#btn-generate {
|
53 |
+
background-image: linear-gradient(to right bottom, rgb(157, 255, 157), rgb(229, 255, 235));
|
54 |
+
color: var(--block-background-fill);
|
55 |
+
}
|
56 |
+
|
57 |
+
#btn-generate:hover {
|
58 |
+
background-image: linear-gradient(to right bottom, rgb(229, 255, 229), rgb(255, 255, 255));
|
59 |
+
}
|
60 |
+
|
61 |
+
#btn-generate:active {
|
62 |
+
background-image: linear-gradient(to right bottom, rgb(229, 255, 235), rgb(157, 255, 157));
|
63 |
+
}
|
64 |
+
|
65 |
+
#versions {
|
66 |
+
margin-top: 1em;
|
67 |
+
width: 100%;
|
68 |
+
text-align: center;
|
69 |
+
}
|
70 |
+
|
71 |
+
.small-btn {
|
72 |
+
max-width: 75px;
|
73 |
+
}
|
74 |
+
|
75 |
+
#gallery .thumbnails {
|
76 |
+
flex-direction: column !important;
|
77 |
+
display: inline-flex !important;
|
78 |
+
flex-wrap: wrap !important;
|
79 |
+
position: relative !important;
|
80 |
+
}
|
81 |
+
|
82 |
+
#gallery caption.caption {
|
83 |
+
flex-direction: row !important;
|
84 |
+
display: inline-flex !important;
|
85 |
+
flex-wrap: wrap;
|
86 |
+
white-space: unset !important;
|
87 |
+
}
|
88 |
+
|
89 |
+
#gallery .image-button img.with-caption {
|
90 |
+
object-fit: cover !important;
|
91 |
+
object-position: center !important;
|
92 |
+
}
|
93 |
+
|
94 |
+
#gallery button.preview {
|
95 |
+
position: relative !important;
|
96 |
+
}
|
97 |
+
|
98 |
+
.gradio-container::before {
|
99 |
+
content: ' ';
|
100 |
+
display: block;
|
101 |
+
position: absolute;
|
102 |
+
left: 0;
|
103 |
+
top: 0;
|
104 |
+
width: 100%;
|
105 |
+
height: 100%;
|
106 |
+
opacity: 0.25;
|
107 |
+
background-image: url('gradio_api/file=./images/logo.png');
|
108 |
+
background-repeat: no-repeat;
|
109 |
+
background-position: 50% 0;
|
110 |
+
background-size: cover;
|
111 |
+
background-color: rgba(0,0,0,0.9);
|
112 |
+
}
|
113 |
+
|
114 |
+
#component-0, #component-1 {
|
115 |
+
opacity: 0.9;
|
116 |
+
}
|
117 |
+
|
118 |
+
#excluded_colors {
|
119 |
+
width: 95%;
|
120 |
+
margin: 0 auto;
|
121 |
+
font-size: smaller;
|
122 |
+
}
|
123 |
+
|
124 |
+
@media only screen and (min-width: 1920px) {
|
125 |
+
.gradio-container, .gradio-container::before {
|
126 |
+
max-width: 1920px !important;
|
127 |
+
}
|
128 |
}
|