File size: 784 Bytes
ef1a690
 
f17b6d6
 
ef1a690
f17b6d6
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import gradio as gr

def welcome(name):
    return f"Welcome to GmasterAI, {name}!"

with gr.Blocks() as demo:
    gr.Markdown(
    """
    # Welcome to experience GmasterAI !
    ### an exquisite AI drawing application.
	 New users will receive 10 free trial opportunities upon registration.
    ### Website: <a href="https://www.gmaster.ai">https://www.gmaster.ai</a>
   <a title="GmasterAI, CC BY-SA 4.0 &lt;https://creativecommons.org/licenses/by-sa/4.0&gt;, via Wikimedia Commons" href="https://www.gmaster.ai/"><img width="512" alt="Gmaster.ai" src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Gmaster.ai.jpg/512px-Gmaster.ai.jpg"></a>
    """)
    inp = gr.Textbox(placeholder="What is your name?")
    out = None
    inp.change(welcome, inp, out)

demo.launch()