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 |
+

|
| 44 |
+
|
| 45 |
+
### Caricature
|
| 46 |
+

|
| 47 |
+
|
| 48 |
+
### Anime
|
| 49 |
+

|
| 50 |
+
|
| 51 |
+
### Arcane
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+
### Comic
|
| 55 |
+

|
| 56 |
+
|
| 57 |
+
### Pixar
|
| 58 |
+

|
| 59 |
+
|
| 60 |
+
### Slamdunk
|
| 61 |
+

|
| 62 |
+
"""
|
| 63 |
|
| 64 |
TOKEN = os.environ['TOKEN']
|
| 65 |
MODEL_REPO = 'hysts/DualStyleGAN'
|