File size: 466 Bytes
c4bca75
 
36771cf
c4bca75
 
de1a3cf
 
 
 
 
 
 
 
 
c4bca75
 
 
 
de1a3cf
c4bca75
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import gradio as gr

def generate(prompt):
    return None

theme = gr.themes.Base(
    primary_hue="gray",
    secondary_hue="gray",
    font=['Helvetica', 'ui-sans-serif', 'system-ui', 'sans-serif'],
).set(
    button_large_text_weight='400'
)

with gr.Blocks(theme=theme) as demo:
    gr.Markdown("# Tony Assi")
    img = gr.Image()
    textbox = gr.Textbox()
    button = gr.Button("Run")
    button.click(fn=generate, inputs=textbox, outputs=img)

demo.launch()