Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def image_generation(model, number_of_images=1):
|
|
15 |
return img
|
16 |
if __name__ == "__main__":
|
17 |
description = "TODO: when generating only 1 image use an esrgan to increase its resolution \n TODO: allow generation of multiple images"
|
18 |
-
inputs = gr.inputs.Radio(["Abstract Expressionism", "Impressionism", "Cubism", "Pop Art", "Color Field", "Hana Hanak houses"])
|
19 |
outputs = gr.outputs.Image(label="Generated Image", type="pil")
|
20 |
#outputs = "text"
|
21 |
title = "Projected GAN for painting generation v0.1"
|
|
|
15 |
return img
|
16 |
if __name__ == "__main__":
|
17 |
description = "TODO: when generating only 1 image use an esrgan to increase its resolution \n TODO: allow generation of multiple images"
|
18 |
+
inputs = gr.inputs.Radio(["Abstract Expressionism", "Impressionism", "Cubism", "Pop Art", "Color Field", "Hana Hanak houses", "Hana Hanak houses - abstract expressionism", "Hana Hanak houses - color field"])
|
19 |
outputs = gr.outputs.Image(label="Generated Image", type="pil")
|
20 |
#outputs = "text"
|
21 |
title = "Projected GAN for painting generation v0.1"
|