File size: 734 Bytes
c54dd0d
 
 
58b46dc
efcf8a5
 
831b048
efcf8a5
 
58b46dc
 
00d5eee
58b46dc
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()