Add generator
Browse files
app.py
CHANGED
|
@@ -14,6 +14,8 @@ transform = Compose(
|
|
| 14 |
]
|
| 15 |
)
|
| 16 |
|
|
|
|
|
|
|
| 17 |
def greet(input):
|
| 18 |
coord_zxy = input
|
| 19 |
image = load_image("https://c.basemaps.cartocdn.com/rastertiles/voyager_labels_under" + coord_zxy + ".png")
|
|
|
|
| 14 |
]
|
| 15 |
)
|
| 16 |
|
| 17 |
+
generator = GeneratorUNet.from_pretrained("debisoft/stamen-wc-gan")
|
| 18 |
+
|
| 19 |
def greet(input):
|
| 20 |
coord_zxy = input
|
| 21 |
image = load_image("https://c.basemaps.cartocdn.com/rastertiles/voyager_labels_under" + coord_zxy + ".png")
|