tonyassi commited on
Commit
de1a3cf
1 Parent(s): 36771cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -3,11 +3,19 @@ import gradio as gr
3
  def generate(prompt):
4
  return None
5
 
6
- with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
7
  gr.Markdown("# Tony Assi")
8
  img = gr.Image()
9
  textbox = gr.Textbox()
10
  button = gr.Button("Run")
11
- button.click(fn=generate, inputs=img, outputs=textbox)
12
 
13
  demo.launch()
 
3
  def generate(prompt):
4
  return None
5
 
6
+ theme = gr.themes.Base(
7
+ primary_hue="gray",
8
+ secondary_hue="gray",
9
+ font=['Helvetica', 'ui-sans-serif', 'system-ui', 'sans-serif'],
10
+ ).set(
11
+ button_large_text_weight='400'
12
+ )
13
+
14
+ with gr.Blocks(theme=theme) as demo:
15
  gr.Markdown("# Tony Assi")
16
  img = gr.Image()
17
  textbox = gr.Textbox()
18
  button = gr.Button("Run")
19
+ button.click(fn=generate, inputs=textbox, outputs=img)
20
 
21
  demo.launch()