Spaces:
Runtime error
Runtime error
import requests | |
import io | |
from PIL import Image | |
import gradio as gr | |
title = "Fine Tuned SD Model - Authoral stylization" | |
description = "Generate images trained in an authoral illustration model." | |
article = "<p style='text-align: center'><a href='https://news.machinelearning.sg/posts/beautiful_profile_pics_remove_background_image_with_deeplabv3/'>Blog</a> | <a href='https://github.com/eugenesiow/practical-ml'>Github Repo</a></p>" | |
def greet(name): | |
return "Hello " + name + "!!" | |
iface = gr.Interface(fn=greet, | |
inputs=gr.inputs.Textbox(label="Prompt", placeholder="Your prompt here..."), | |
outputs=gr.outputs.Image(label="Generated Image") | |
) | |
iface.launch() |