3 ms·
Visual feedback. Visual interface. The GUI fad is still around.
by creativenolo 4y ago
Visual feedback. Visual interface. The GUI fad is still around.
- rahimnathwani 4y agoRight, but if a GUI is the only requirement, it might be simpler to use gradio. It only takes a few lines (pasted from https://huggingface.co/spaces/akhaliq/Real-ESRGAN https://huggingface.co/spaces/akhaliq/Real-ESRGAN): gr.Interface( inference, [gr.inputs.Image(type="pil", label="Input"),gr.inputs.Radio(["base","anime"], type="value", default="base", label="model type")], gr.outputs.Image(type="file", label="Output"), title=title, description=description, article=article, examples=[ ['bear.jpg','base'], ['anime.png','anime'] ]).launch()