ciover2024 commited on
Commit
ee8868b
1 Parent(s): 377f8fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -209,7 +209,7 @@ result = client.predict(
209
  True, # bool in 'Disable Preview' Checkbox component
210
  True, # bool in 'Disable Intermediate Results' Checkbox component
211
  True, # bool in 'Disable seed increment' Checkbox component
212
- True, # bool in 'Black Out NSFW' Checkbox component
213
  0.1, # int | float (numeric value between 0.1 and 3.0) in 'Positive ADM Guidance Scaler' Slider component
214
  0.1, # int | float (numeric value between 0.1 and 3.0) in 'Negative ADM Guidance Scaler' Slider component
215
  0, # int | float (numeric value between 0.0 and 1.0) in 'ADM Guidance End At Step' Slider component
@@ -273,9 +273,9 @@ result = client.predict(
273
  "Before First Enhancement", # str in 'Order of Processing' Radio component
274
  "Original Prompts", # str in 'Prompt' Radio component
275
  True, # bool in 'Enable' Checkbox component
276
- "Howdy!", # str in 'Detection prompt' Textbox component
277
- "Howdy!", # str in 'Enhancement positive prompt' Textbox component
278
- "Howdy!", # str in 'Enhancement negative prompt' Textbox component
279
  "u2net", # str (Option from: ['u2net', 'u2netp', 'u2net_human_seg', 'u2net_cloth_seg', 'silueta', 'isnet-general-use', 'isnet-anime', 'sam']) in 'Mask generation model' Dropdown component
280
  "full", # str (Option from: ['full', 'upper', 'lower']) in 'Cloth category' Dropdown component
281
  "vit_b", # str (Option from: ['vit_b', 'vit_l', 'vit_h']) in 'SAM model' Dropdown component
@@ -289,9 +289,9 @@ result = client.predict(
289
  -64, # int | float (numeric value between -64 and 64) in 'Mask Erode or Dilate' Slider component
290
  True, # bool in 'Invert Mask' Checkbox component
291
  True, # bool in 'Enable' Checkbox component
292
- "Howdy!", # str in 'Detection prompt' Textbox component
293
- "Howdy!", # str in 'Enhancement positive prompt' Textbox component
294
- "Howdy!", # str in 'Enhancement negative prompt' Textbox component
295
  "u2net", # str (Option from: ['u2net', 'u2netp', 'u2net_human_seg', 'u2net_cloth_seg', 'silueta', 'isnet-general-use', 'isnet-anime', 'sam']) in 'Mask generation model' Dropdown component
296
  "full", # str (Option from: ['full', 'upper', 'lower']) in 'Cloth category' Dropdown component
297
  "vit_b", # str (Option from: ['vit_b', 'vit_l', 'vit_h']) in 'SAM model' Dropdown component
@@ -304,9 +304,9 @@ result = client.predict(
304
  0, # int | float (numeric value between 0.0 and 1.0) in 'Inpaint Respective Field' Slider component
305
  -64, # int | float (numeric value between -64 and 64) in 'Mask Erode or Dilate' Slider component
306
  True, # bool in 'Invert Mask' Checkbox component True, # bool in 'Enable' Checkbox component
307
- "Howdy!", # str in 'Detection prompt' Textbox component
308
- "Howdy!", # str in 'Enhancement positive prompt' Textbox component
309
- "Howdy!", # str in 'Enhancement negative prompt' Textbox component
310
  "u2net", # str (Option from: ['u2net', 'u2netp', 'u2net_human_seg', 'u2net_cloth_seg', 'silueta', 'isnet-general-use', 'isnet-anime', 'sam']) in 'Mask generation model' Dropdown component
311
  "full", # str (Option from: ['full', 'upper', 'lower']) in 'Cloth category' Dropdown component
312
  "vit_b", # str (Option from: ['vit_b', 'vit_l', 'vit_h']) in 'SAM model' Dropdown component
 
209
  True, # bool in 'Disable Preview' Checkbox component
210
  True, # bool in 'Disable Intermediate Results' Checkbox component
211
  True, # bool in 'Disable seed increment' Checkbox component
212
+ False, # bool in 'Black Out NSFW' Checkbox component
213
  0.1, # int | float (numeric value between 0.1 and 3.0) in 'Positive ADM Guidance Scaler' Slider component
214
  0.1, # int | float (numeric value between 0.1 and 3.0) in 'Negative ADM Guidance Scaler' Slider component
215
  0, # int | float (numeric value between 0.0 and 1.0) in 'ADM Guidance End At Step' Slider component
 
273
  "Before First Enhancement", # str in 'Order of Processing' Radio component
274
  "Original Prompts", # str in 'Prompt' Radio component
275
  True, # bool in 'Enable' Checkbox component
276
+ "", # str in 'Detection prompt' Textbox component
277
+ "", # str in 'Enhancement positive prompt' Textbox component
278
+ "", # str in 'Enhancement negative prompt' Textbox component
279
  "u2net", # str (Option from: ['u2net', 'u2netp', 'u2net_human_seg', 'u2net_cloth_seg', 'silueta', 'isnet-general-use', 'isnet-anime', 'sam']) in 'Mask generation model' Dropdown component
280
  "full", # str (Option from: ['full', 'upper', 'lower']) in 'Cloth category' Dropdown component
281
  "vit_b", # str (Option from: ['vit_b', 'vit_l', 'vit_h']) in 'SAM model' Dropdown component
 
289
  -64, # int | float (numeric value between -64 and 64) in 'Mask Erode or Dilate' Slider component
290
  True, # bool in 'Invert Mask' Checkbox component
291
  True, # bool in 'Enable' Checkbox component
292
+ "", # str in 'Detection prompt' Textbox component
293
+ "", # str in 'Enhancement positive prompt' Textbox component
294
+ "", # str in 'Enhancement negative prompt' Textbox component
295
  "u2net", # str (Option from: ['u2net', 'u2netp', 'u2net_human_seg', 'u2net_cloth_seg', 'silueta', 'isnet-general-use', 'isnet-anime', 'sam']) in 'Mask generation model' Dropdown component
296
  "full", # str (Option from: ['full', 'upper', 'lower']) in 'Cloth category' Dropdown component
297
  "vit_b", # str (Option from: ['vit_b', 'vit_l', 'vit_h']) in 'SAM model' Dropdown component
 
304
  0, # int | float (numeric value between 0.0 and 1.0) in 'Inpaint Respective Field' Slider component
305
  -64, # int | float (numeric value between -64 and 64) in 'Mask Erode or Dilate' Slider component
306
  True, # bool in 'Invert Mask' Checkbox component True, # bool in 'Enable' Checkbox component
307
+ "", # str in 'Detection prompt' Textbox component
308
+ "", # str in 'Enhancement positive prompt' Textbox component
309
+ "", # str in 'Enhancement negative prompt' Textbox component
310
  "u2net", # str (Option from: ['u2net', 'u2netp', 'u2net_human_seg', 'u2net_cloth_seg', 'silueta', 'isnet-general-use', 'isnet-anime', 'sam']) in 'Mask generation model' Dropdown component
311
  "full", # str (Option from: ['full', 'upper', 'lower']) in 'Cloth category' Dropdown component
312
  "vit_b", # str (Option from: ['vit_b', 'vit_l', 'vit_h']) in 'SAM model' Dropdown component