tony-assi-lora / app.py
tonyassi's picture
Update app.py
235323f verified
raw
history blame
596 Bytes
import gradio as gr
def generate(prompt):
return None
theme = gr.themes.Base(
primary_hue="gray",
secondary_hue="gray",
neutral_hue="gray",
font=['Helvetica', 'ui-sans-serif', 'system-ui', 'sans-serif'],
).set(
button_large_text_weight='400',
input_background_fill='#ffffff',
input_border_width='*block_border_width',
#input_border_color='gray',
)
with gr.Blocks(theme=theme) as demo:
img = gr.Image()
textbox = gr.Textbox(show_label=False)
button = gr.Button("generate")
button.click(fn=generate, inputs=textbox, outputs=img)
demo.launch()