Spaces:
Running
Running
Add style images for other style types
Browse files
app.py
CHANGED
@@ -31,13 +31,35 @@ ORIGINAL_REPO_URL = 'https://github.com/williamyang1991/DualStyleGAN'
|
|
31 |
TITLE = 'williamyang1991/DualStyleGAN'
|
32 |
DESCRIPTION = f"""A demo for {ORIGINAL_REPO_URL}
|
33 |
|
34 |
-
You can select style images for
|
35 |
-
(Currently, style image tables for other style types are not available.)
|
36 |
-
|
37 |
The style image index should be in the following range:
|
38 |
(cartoon: 0-316, caricature: 0-198, anime: 0-173, arcane: 0-99, comic: 0-100, pixar: 0-121, slamdunk: 0-119)
|
39 |
"""
|
40 |
-
ARTICLE =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
TOKEN = os.environ['TOKEN']
|
43 |
MODEL_REPO = 'hysts/DualStyleGAN'
|
|
|
31 |
TITLE = 'williamyang1991/DualStyleGAN'
|
32 |
DESCRIPTION = f"""A demo for {ORIGINAL_REPO_URL}
|
33 |
|
34 |
+
You can select style images for each style type from the tables below.
|
|
|
|
|
35 |
The style image index should be in the following range:
|
36 |
(cartoon: 0-316, caricature: 0-198, anime: 0-173, arcane: 0-99, comic: 0-100, pixar: 0-121, slamdunk: 0-119)
|
37 |
"""
|
38 |
+
ARTICLE = """## Style images
|
39 |
+
|
40 |
+
Note that the style images here for Arcane, comic, Pixar, and Slamdunk are the reconstructed ones, not the original ones due to copyright issues.
|
41 |
+
|
42 |
+
### Cartoon
|
43 |
+
![cartoon style images](https://raw.githubusercontent.com/williamyang1991/DualStyleGAN/main/doc_images/cartoon_overview.jpg)
|
44 |
+
|
45 |
+
### Caricature
|
46 |
+
![caricature style images](https://raw.githubusercontent.com/williamyang1991/DualStyleGAN/main/doc_images/caricature_overview.jpg)
|
47 |
+
|
48 |
+
### Anime
|
49 |
+
![anime style images](https://raw.githubusercontent.com/williamyang1991/DualStyleGAN/main/doc_images/anime_overview.jpg)
|
50 |
+
|
51 |
+
### Arcane
|
52 |
+
![arcane style images](https://raw.githubusercontent.com/williamyang1991/DualStyleGAN/main/doc_images/Reconstruction_arcane_overview.jpg)
|
53 |
+
|
54 |
+
### Comic
|
55 |
+
![comic style images](https://raw.githubusercontent.com/williamyang1991/DualStyleGAN/main/doc_images/Reconstruction_comic_overview.jpg)
|
56 |
+
|
57 |
+
### Pixar
|
58 |
+
![pixar style images](https://raw.githubusercontent.com/williamyang1991/DualStyleGAN/main/doc_images/Reconstruction_pixar_overview.jpg)
|
59 |
+
|
60 |
+
### Slamdunk
|
61 |
+
![slamdunk style images](https://raw.githubusercontent.com/williamyang1991/DualStyleGAN/main/doc_images/Reconstruction_slamdunk_overview.jpg)
|
62 |
+
"""
|
63 |
|
64 |
TOKEN = os.environ['TOKEN']
|
65 |
MODEL_REPO = 'hysts/DualStyleGAN'
|