Spaces:
Runtime error
Runtime error
Commit
•
cbb8ff7
1
Parent(s):
3313a74
Update app.py
Browse files
app.py
CHANGED
@@ -1234,105 +1234,96 @@ css=""""""
|
|
1234 |
with gr.Blocks(css=css, theme="TogetherAI/Alex2") as myface:
|
1235 |
|
1236 |
gr.HTML("""
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
border-right-color: #000000 !important;
|
1318 |
-
border-bottom-color: #000000 !important;
|
1319 |
-
border-left-color: #ffc99f !important;
|
1320 |
-
padding: 6px 30px;
|
1321 |
}
|
1322 |
.gr-button:active {
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
background-image: linear-gradient(#d2a489, #76635a) !important;
|
1327 |
-
border-top-color: #000000 !important;
|
1328 |
-
border-right-color: #ffffff !important;
|
1329 |
-
border-bottom-color: #ffffff !important;
|
1330 |
-
border-left-color: #000000 !important;
|
1331 |
}
|
1332 |
.gr-button:hover {
|
1333 |
-
|
1334 |
}
|
1335 |
-
|
1336 |
run=gr.Button("Generate Image")
|
1337 |
with gr.Row():
|
1338 |
with gr.Column(style="width=800px"):
|
|
|
1234 |
with gr.Blocks(css=css, theme="TogetherAI/Alex2") as myface:
|
1235 |
|
1236 |
gr.HTML("""
|
1237 |
+
<div style="text-align: center; max-width: 1200px; margin: 0 auto; background-color: #000000;">
|
1238 |
+
<div>
|
1239 |
+
<style>
|
1240 |
+
body {
|
1241 |
+
background-color: #000000; /* Schwarz */
|
1242 |
+
}
|
1243 |
+
h1 {
|
1244 |
+
font-size: 6em;
|
1245 |
+
color: #303030; /* Anthrazit */
|
1246 |
+
margin-top: 30px;
|
1247 |
+
margin-bottom: 30px;
|
1248 |
+
text-shadow: 3px 3px 0 rgba(0, 0, 0, 1) !important;
|
1249 |
+
}
|
1250 |
+
h3 {
|
1251 |
+
color: #303030; /* Anthrazit */
|
1252 |
+
}
|
1253 |
+
h4 {
|
1254 |
+
display: inline-block;
|
1255 |
+
color: #303030; /* Anthrazit */
|
1256 |
+
}
|
1257 |
+
.wrapper img {
|
1258 |
+
font-size: 98% !important;
|
1259 |
+
white-space: nowrap !important;
|
1260 |
+
text-align: center !important;
|
1261 |
+
display: inline-block !important;
|
1262 |
+
color: #ffffff !important;
|
1263 |
+
}
|
1264 |
+
.wrapper {
|
1265 |
+
color: #303030; /* Anthrazit */
|
1266 |
+
}
|
1267 |
+
.gradio-container {
|
1268 |
+
background-color: #000000; /* Schwarz */
|
1269 |
+
color: #008b8b; /* Dunkelzyan */
|
1270 |
+
font-family: 'IBM Plex Sans', sans-serif !important;
|
1271 |
+
}
|
1272 |
+
.text-gray-500 {
|
1273 |
+
color: #303030; /* Anthrazit */
|
1274 |
+
}
|
1275 |
+
.gr-box {
|
1276 |
+
background-color: #000000; /* Schwarz */
|
1277 |
+
border-top-color: #303030 !important;
|
1278 |
+
border-right-color: #303030 !important;
|
1279 |
+
border-bottom-color: #303030 !important;
|
1280 |
+
border-left-color: #303030 !important;
|
1281 |
+
}
|
1282 |
+
.gr-input {
|
1283 |
+
color: #303030; /* Anthrazit */
|
1284 |
+
background-color: #000000; /* Schwarz */
|
1285 |
+
}
|
1286 |
+
:root {
|
1287 |
+
--neutral-100: #000000; /* Schwarz */
|
1288 |
+
}
|
1289 |
+
.button-class { /* Ersetzen Sie dies mit der tatsächlichen Klasse Ihrer Buttons */
|
1290 |
+
background-color: #008b8b; /* Dunkelzyan */
|
1291 |
+
color: #ffffff; /* Weißer Text */
|
1292 |
+
border: none;
|
1293 |
+
}
|
1294 |
+
</style>
|
1295 |
+
<body>
|
1296 |
+
<div class="center"><h1>Toy World</h1></div>
|
1297 |
+
</body>
|
1298 |
+
</div>
|
1299 |
+
<p style="margin-bottom: 1px; color: #303030;">
|
1300 |
+
<h3>Blitz Diffusion - 567 Stable Diffusion models, but why? For your enjoyment!</h3>
|
1301 |
+
</p>
|
1302 |
+
<br>
|
1303 |
+
<div class="wrapper">11.17 <img src="https://huggingface.co/Yntec/DucHaitenLofi/resolve/main/NEW.webp" alt="NEW!" style="width:32px;height:16px;"> Toys to play with: The models pineappleAnimeMix, fantexi_v0.9, MemeDiffusion, fantasticmix_v65, IronCatFateToons, ya3, AnalogMadness, AnythingRemix and others have been added!</div>
|
1304 |
+
<p style="margin-bottom: 1px; font-size: 98%">
|
1305 |
+
<br><h4>If a model is already loaded each new image takes less than 20 seconds to generate!</h4>
|
1306 |
+
</p>
|
1307 |
+
<p style="margin-bottom: 1px; color: #ffffff;">
|
1308 |
+
<br>If you get <span style="color: #ff0000;">ERROR</span> it's because that model ran out of memory, try again, or wait a minute and try again, have fun!
|
1309 |
+
</p>
|
1310 |
+
</div>
|
1311 |
+
.gr-button {
|
1312 |
+
color: #ffffff; /* Weißer Text */
|
1313 |
+
background-color: #008b8b; /* Dunkelzyan Hintergrund */
|
1314 |
+
border-radius: 24px;
|
1315 |
+
border: solid 1px #303030; /* Anthrazitfarbene Umrandung */
|
1316 |
+
padding: 6px 30px;
|
|
|
|
|
|
|
|
|
1317 |
}
|
1318 |
.gr-button:active {
|
1319 |
+
color: #ffffff;
|
1320 |
+
background-color: #005656; /* Dunklerer Dunkelzyan für aktiven Zustand */
|
1321 |
+
border-color: #303030;
|
|
|
|
|
|
|
|
|
|
|
1322 |
}
|
1323 |
.gr-button:hover {
|
1324 |
+
filter: brightness(130%);
|
1325 |
}
|
1326 |
+
|
1327 |
run=gr.Button("Generate Image")
|
1328 |
with gr.Row():
|
1329 |
with gr.Column(style="width=800px"):
|