Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -80,44 +80,40 @@ footer {
|
|
80 |
overflow: hidden;
|
81 |
}
|
82 |
|
83 |
-
body,
|
84 |
-
font-family: 'Poppins', sans-serif;
|
85 |
background-color: #191a1e !important;
|
86 |
color: #FFFFFF !important;
|
87 |
}
|
88 |
|
89 |
-
h1, h2, h3, h4, h5, h6 {
|
90 |
-
font-family: 'Poppins', sans-serif;
|
91 |
-
font-weight: 700;
|
92 |
color: #FFFFFF !important;
|
93 |
}
|
94 |
|
95 |
-
|
96 |
-
|
97 |
-
color: #FFFFFF !important;
|
98 |
-
border: 1px solid #FFFFFF !important;
|
99 |
-
}
|
100 |
-
|
101 |
-
.generate-button {
|
102 |
background-color: #5271FF !important;
|
103 |
color: #FFFFFF !important;
|
104 |
border: none !important;
|
105 |
font-weight: bold !important;
|
|
|
|
|
106 |
}
|
107 |
|
108 |
-
.
|
109 |
background-color: #405BBF !important;
|
|
|
110 |
}
|
111 |
|
|
|
112 |
gr-image-upload {
|
113 |
background-color: #191a1e !important;
|
114 |
border: 1px dashed #FFFFFF !important;
|
115 |
-
position: relative;
|
116 |
}
|
117 |
|
118 |
.gr-image-upload .dropzone::before {
|
119 |
content: 'Drop Image Here';
|
120 |
-
color: #FFFFFF;
|
121 |
font-size: 1rem;
|
122 |
font-weight: bold;
|
123 |
text-align: center;
|
@@ -127,25 +123,29 @@ gr-image-upload {
|
|
127 |
transform: translate(-50%, -50%);
|
128 |
}
|
129 |
|
130 |
-
.
|
131 |
-
|
132 |
-
|
133 |
-
align-items: center;
|
134 |
}
|
135 |
|
136 |
-
|
137 |
-
|
138 |
background-color: #191a1e !important;
|
|
|
|
|
|
|
|
|
|
|
139 |
}
|
140 |
|
141 |
-
.
|
142 |
-
|
143 |
-
|
144 |
}
|
145 |
|
146 |
.gr-tab {
|
147 |
background-color: #191a1e !important;
|
148 |
-
border: 1px solid #FFFFFF;
|
149 |
border-radius: 5px;
|
150 |
margin-top: 10px;
|
151 |
}
|
@@ -154,17 +154,6 @@ gr-image-upload {
|
|
154 |
color: #FFFFFF !important;
|
155 |
font-weight: bold;
|
156 |
}
|
157 |
-
|
158 |
-
.gr-button-primary {
|
159 |
-
background-color: #5271FF !important;
|
160 |
-
color: #FFFFFF !important;
|
161 |
-
border: none;
|
162 |
-
}
|
163 |
-
|
164 |
-
.gr-button-primary:hover {
|
165 |
-
background-color: #405BBF !important;
|
166 |
-
color: #FFFFFF !important;
|
167 |
-
}
|
168 |
"""
|
169 |
|
170 |
# Интерфейс
|
|
|
80 |
overflow: hidden;
|
81 |
}
|
82 |
|
83 |
+
body, .gr-block, .gr-container {
|
84 |
+
font-family: 'Poppins', sans-serif !important;
|
85 |
background-color: #191a1e !important;
|
86 |
color: #FFFFFF !important;
|
87 |
}
|
88 |
|
89 |
+
h1, h2, h3, h4, h5, h6, p, label, .gr-button {
|
|
|
|
|
90 |
color: #FFFFFF !important;
|
91 |
}
|
92 |
|
93 |
+
/* Стили кнопки Generate */
|
94 |
+
.gr-button {
|
|
|
|
|
|
|
|
|
|
|
95 |
background-color: #5271FF !important;
|
96 |
color: #FFFFFF !important;
|
97 |
border: none !important;
|
98 |
font-weight: bold !important;
|
99 |
+
border-radius: 5px !important;
|
100 |
+
padding: 10px 20px !important;
|
101 |
}
|
102 |
|
103 |
+
.gr-button:hover {
|
104 |
background-color: #405BBF !important;
|
105 |
+
color: #FFFFFF !important;
|
106 |
}
|
107 |
|
108 |
+
/* Области для загрузки изображений */
|
109 |
gr-image-upload {
|
110 |
background-color: #191a1e !important;
|
111 |
border: 1px dashed #FFFFFF !important;
|
|
|
112 |
}
|
113 |
|
114 |
.gr-image-upload .dropzone::before {
|
115 |
content: 'Drop Image Here';
|
116 |
+
color: #FFFFFF !important;
|
117 |
font-size: 1rem;
|
118 |
font-weight: bold;
|
119 |
text-align: center;
|
|
|
123 |
transform: translate(-50%, -50%);
|
124 |
}
|
125 |
|
126 |
+
.gr-image-upload .dropzone {
|
127 |
+
background-color: #191a1e !important;
|
128 |
+
border: 1px dashed #FFFFFF !important;
|
|
|
129 |
}
|
130 |
|
131 |
+
/* Слайдер и контейнеры */
|
132 |
+
.gr-slider {
|
133 |
background-color: #191a1e !important;
|
134 |
+
color: #FFFFFF !important;
|
135 |
+
}
|
136 |
+
|
137 |
+
.gr-checkbox {
|
138 |
+
color: #FFFFFF !important;
|
139 |
}
|
140 |
|
141 |
+
.drop-image, .processed-image {
|
142 |
+
background-color: #191a1e !important;
|
143 |
+
border: 1px solid #FFFFFF !important;
|
144 |
}
|
145 |
|
146 |
.gr-tab {
|
147 |
background-color: #191a1e !important;
|
148 |
+
border: 1px solid #FFFFFF !important;
|
149 |
border-radius: 5px;
|
150 |
margin-top: 10px;
|
151 |
}
|
|
|
154 |
color: #FFFFFF !important;
|
155 |
font-weight: bold;
|
156 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
"""
|
158 |
|
159 |
# Интерфейс
|