Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,6 @@ TITLE = "WaifuDiffusion Tagger"
|
|
12 |
DESCRIPTION = """
|
13 |
Demo for the WaifuDiffusion tagger models
|
14 |
|
15 |
-
Example image by [ほし☆☆☆](https://www.pixiv.net/en/users/43565085)
|
16 |
"""
|
17 |
|
18 |
HF_TOKEN = os.environ.get("HF_TOKEN", "")
|
@@ -330,17 +329,7 @@ def main():
|
|
330 |
outputs=[sorted_general_strings, rating, character_res, general_res],
|
331 |
)
|
332 |
|
333 |
-
|
334 |
-
[["power.jpg", SWINV2_MODEL_DSV3_REPO, 0.35, False, 0.85, False]],
|
335 |
-
inputs=[
|
336 |
-
image,
|
337 |
-
model_repo,
|
338 |
-
general_thresh,
|
339 |
-
general_mcut_enabled,
|
340 |
-
character_thresh,
|
341 |
-
character_mcut_enabled,
|
342 |
-
],
|
343 |
-
)
|
344 |
|
345 |
demo.queue(max_size=10)
|
346 |
demo.launch()
|
|
|
12 |
DESCRIPTION = """
|
13 |
Demo for the WaifuDiffusion tagger models
|
14 |
|
|
|
15 |
"""
|
16 |
|
17 |
HF_TOKEN = os.environ.get("HF_TOKEN", "")
|
|
|
329 |
outputs=[sorted_general_strings, rating, character_res, general_res],
|
330 |
)
|
331 |
|
332 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
|
334 |
demo.queue(max_size=10)
|
335 |
demo.launch()
|