Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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'
|
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)
|