Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -952,7 +952,7 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
|
|
952 |
with gr.Accordion("LoRA", open=False, visible=True):
|
953 |
|
954 |
def lora_dropdown(label):
|
955 |
-
return gr.Dropdown(label=label, choices=lora_model_list, allow_custom_value=True)
|
956 |
|
957 |
def lora_scale_slider(label):
|
958 |
return gr.Slider(minimum=-2, maximum=2, step=0.01, value=0.33, label=label)
|
@@ -1151,13 +1151,13 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
|
|
1151 |
-1,
|
1152 |
"None",
|
1153 |
1.0,
|
1154 |
-
None,
|
1155 |
1.0,
|
1156 |
-
None,
|
1157 |
1.0,
|
1158 |
-
None,
|
1159 |
1.0,
|
1160 |
-
None,
|
1161 |
1.0,
|
1162 |
"Euler a",
|
1163 |
1152,
|
@@ -1194,13 +1194,13 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
|
|
1194 |
-1,
|
1195 |
"None",
|
1196 |
1.0,
|
1197 |
-
None,
|
1198 |
1.0,
|
1199 |
-
None,
|
1200 |
1.0,
|
1201 |
-
None,
|
1202 |
1.0,
|
1203 |
-
None,
|
1204 |
1.0,
|
1205 |
"DPM++ 2M Karras",
|
1206 |
1024,
|
@@ -1237,13 +1237,13 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
|
|
1237 |
-1,
|
1238 |
"None",
|
1239 |
1.0,
|
1240 |
-
None,
|
1241 |
1.0,
|
1242 |
-
None,
|
1243 |
1.0,
|
1244 |
-
None,
|
1245 |
1.0,
|
1246 |
-
None,
|
1247 |
1.0,
|
1248 |
"DPM++ 2M SDE Lu",
|
1249 |
1024,
|
@@ -1280,13 +1280,13 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
|
|
1280 |
-1,
|
1281 |
"None",
|
1282 |
1.0,
|
1283 |
-
None,
|
1284 |
1.0,
|
1285 |
-
None,
|
1286 |
1.0,
|
1287 |
-
None,
|
1288 |
1.0,
|
1289 |
-
None,
|
1290 |
1.0,
|
1291 |
"Euler a",
|
1292 |
1024,
|
@@ -1323,13 +1323,13 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
|
|
1323 |
-1,
|
1324 |
"loras/Coloring_book_-_LineArt.safetensors",
|
1325 |
1.0,
|
1326 |
-
None,
|
1327 |
1.0,
|
1328 |
-
None,
|
1329 |
1.0,
|
1330 |
-
None,
|
1331 |
1.0,
|
1332 |
-
None,
|
1333 |
1.0,
|
1334 |
"DPM++ 2M SDE Karras",
|
1335 |
1024,
|
@@ -1366,13 +1366,13 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
|
|
1366 |
-1,
|
1367 |
"None",
|
1368 |
1.0,
|
1369 |
-
None,
|
1370 |
1.0,
|
1371 |
-
None,
|
1372 |
1.0,
|
1373 |
-
None,
|
1374 |
1.0,
|
1375 |
-
None,
|
1376 |
1.0,
|
1377 |
"DPM++ 2M SDE Karras",
|
1378 |
512,
|
|
|
952 |
with gr.Accordion("LoRA", open=False, visible=True):
|
953 |
|
954 |
def lora_dropdown(label):
|
955 |
+
return gr.Dropdown(label=label, choices=lora_model_list, value="None", allow_custom_value=True)
|
956 |
|
957 |
def lora_scale_slider(label):
|
958 |
return gr.Slider(minimum=-2, maximum=2, step=0.01, value=0.33, label=label)
|
|
|
1151 |
-1,
|
1152 |
"None",
|
1153 |
1.0,
|
1154 |
+
"None",
|
1155 |
1.0,
|
1156 |
+
"None",
|
1157 |
1.0,
|
1158 |
+
"None",
|
1159 |
1.0,
|
1160 |
+
"None",
|
1161 |
1.0,
|
1162 |
"Euler a",
|
1163 |
1152,
|
|
|
1194 |
-1,
|
1195 |
"None",
|
1196 |
1.0,
|
1197 |
+
"None",
|
1198 |
1.0,
|
1199 |
+
"None",
|
1200 |
1.0,
|
1201 |
+
"None",
|
1202 |
1.0,
|
1203 |
+
"None",
|
1204 |
1.0,
|
1205 |
"DPM++ 2M Karras",
|
1206 |
1024,
|
|
|
1237 |
-1,
|
1238 |
"None",
|
1239 |
1.0,
|
1240 |
+
"None",
|
1241 |
1.0,
|
1242 |
+
"None",
|
1243 |
1.0,
|
1244 |
+
"None",
|
1245 |
1.0,
|
1246 |
+
"None",
|
1247 |
1.0,
|
1248 |
"DPM++ 2M SDE Lu",
|
1249 |
1024,
|
|
|
1280 |
-1,
|
1281 |
"None",
|
1282 |
1.0,
|
1283 |
+
"None",
|
1284 |
1.0,
|
1285 |
+
"None",
|
1286 |
1.0,
|
1287 |
+
"None",
|
1288 |
1.0,
|
1289 |
+
"None",
|
1290 |
1.0,
|
1291 |
"Euler a",
|
1292 |
1024,
|
|
|
1323 |
-1,
|
1324 |
"loras/Coloring_book_-_LineArt.safetensors",
|
1325 |
1.0,
|
1326 |
+
"None",
|
1327 |
1.0,
|
1328 |
+
"None",
|
1329 |
1.0,
|
1330 |
+
"None",
|
1331 |
1.0,
|
1332 |
+
"None",
|
1333 |
1.0,
|
1334 |
"DPM++ 2M SDE Karras",
|
1335 |
1024,
|
|
|
1366 |
-1,
|
1367 |
"None",
|
1368 |
1.0,
|
1369 |
+
"None",
|
1370 |
1.0,
|
1371 |
+
"None",
|
1372 |
1.0,
|
1373 |
+
"None",
|
1374 |
1.0,
|
1375 |
+
"None",
|
1376 |
1.0,
|
1377 |
"DPM++ 2M SDE Karras",
|
1378 |
512,
|