interfacegan_pp / utils /constants.py
ybelkada's picture
add new files
b260763
raw
history blame
502 Bytes
import gradio as gr
VALID_CHOICES = [
"Bald",
"Young",
"Mustache",
"Eyeglasses",
"Hat",
"Smiling",
"Gender",
"Beard"
]
ENABLE_GPU = False
MODEL_NAME = "stylegan_ffhq"
OUTPUT_LIST = [
gr.outputs.Image(type="pil", label="Generated Images"),
gr.outputs.Image(type="pil", label="Modified Images"),
]
description = """
<p>
<center>
This is an interactive demo of the CVPR2020 InterfaceGAN paper, by adding other attributes such as Hat, Bald, etc.
</center>
</p>
"""