Interact with the GauGAN2 web demo using python
Inspired by DoodleChaos who would've made something similar for this video.
Import with from gaugan import gaugan
<>
= optional argument
gaugan(input png name, <output jpg name>, <caption>)
kwargs affect the request data, to enable the caption for example, (they have to be strings, booleans don't work)
gaugan("segmentation.png", "gaugan_output.jpg", "Something amazing", enable_caption="true")
or change style
gaugan("segmentation.png", style_name="random")
I actually have no idea what most of the options do, but if you work them out post it in the comments.