tonyassi commited on
Commit
884d04c
1 Parent(s): d522cf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -31,10 +31,11 @@ theme = gr.themes.Base(
31
  input_background_fill='#ffffff',
32
  #input_border_width='*block_border_width',
33
  button_primary_background_fill='#ffffff',
 
34
  )
35
 
36
  with gr.Blocks(theme=theme) as demo:
37
- img = gr.Image(show_label=False, type='pil', height=512, width=512)
38
  textbox = gr.Textbox(show_label=False, placeholder='type your prompt in here')
39
  button = gr.Button("generate", variant="primary")
40
  button.click(fn=generate, inputs=textbox, outputs=img)
 
31
  input_background_fill='#ffffff',
32
  #input_border_width='*block_border_width',
33
  button_primary_background_fill='#ffffff',
34
+ button_border_widt='*block_border_width',
35
  )
36
 
37
  with gr.Blocks(theme=theme) as demo:
38
+ img = gr.Image(show_label=False, type='pil')
39
  textbox = gr.Textbox(show_label=False, placeholder='type your prompt in here')
40
  button = gr.Button("generate", variant="primary")
41
  button.click(fn=generate, inputs=textbox, outputs=img)