TechnoByte commited on
Commit
53a263b
Β·
1 Parent(s): 77d7b46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -11
app.py CHANGED
@@ -24,15 +24,6 @@ Demo for:
24
  - [SmilingWolf/wd-v1-4-convnext-tagger-v2](https://huggingface.co/SmilingWolf/wd-v1-4-convnext-tagger-v2)
25
  - [SmilingWolf/wd-v1-4-convnextv2-tagger-v2](https://huggingface.co/SmilingWolf/wd-v1-4-convnextv2-tagger-v2)
26
  - [SmilingWolf/wd-v1-4-vit-tagger-v2](https://huggingface.co/SmilingWolf/wd-v1-4-vit-tagger-v2)
27
-
28
- Includes "ready to copy" prompt and a prompt analyzer.
29
-
30
- Modified from [NoCrypt/DeepDanbooru_string](https://huggingface.co/spaces/NoCrypt/DeepDanbooru_string)
31
- Modified from [hysts/DeepDanbooru](https://huggingface.co/spaces/hysts/DeepDanbooru)
32
-
33
- PNG Info code forked from [AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
34
-
35
- Example image by [γ»γ—β˜†β˜†β˜†](https://www.pixiv.net/en/users/43565085)
36
  """
37
 
38
  HF_TOKEN = os.environ["HF_TOKEN"]
@@ -245,7 +236,7 @@ def main():
245
  gr.Image(type="pil", label="Input"),
246
  gr.Radio(
247
  ["MOAT", "SwinV2", "ConvNext", "ConvNextV2", "ViT"],
248
- value="MOAT",
249
  label="Model",
250
  ),
251
  gr.Slider(
@@ -271,7 +262,7 @@ def main():
271
  gr.Label(label="Output (tags)"),
272
  gr.HTML(),
273
  ],
274
- examples=[["power.jpg", "MOAT", 0.35, 0.85]],
275
  title=TITLE,
276
  description=DESCRIPTION,
277
  allow_flagging="never",
 
24
  - [SmilingWolf/wd-v1-4-convnext-tagger-v2](https://huggingface.co/SmilingWolf/wd-v1-4-convnext-tagger-v2)
25
  - [SmilingWolf/wd-v1-4-convnextv2-tagger-v2](https://huggingface.co/SmilingWolf/wd-v1-4-convnextv2-tagger-v2)
26
  - [SmilingWolf/wd-v1-4-vit-tagger-v2](https://huggingface.co/SmilingWolf/wd-v1-4-vit-tagger-v2)
 
 
 
 
 
 
 
 
 
27
  """
28
 
29
  HF_TOKEN = os.environ["HF_TOKEN"]
 
236
  gr.Image(type="pil", label="Input"),
237
  gr.Radio(
238
  ["MOAT", "SwinV2", "ConvNext", "ConvNextV2", "ViT"],
239
+ value="ConvNextV2",
240
  label="Model",
241
  ),
242
  gr.Slider(
 
262
  gr.Label(label="Output (tags)"),
263
  gr.HTML(),
264
  ],
265
+ examples=[],
266
  title=TITLE,
267
  description=DESCRIPTION,
268
  allow_flagging="never",