Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -29,11 +29,11 @@ theme = gr.themes.Base(
|
|
29 |
).set(
|
30 |
button_large_text_weight='400',
|
31 |
input_background_fill='#ffffff',
|
32 |
-
input_border_width='*block_border_width',
|
33 |
)
|
34 |
|
35 |
with gr.Blocks(theme=theme) as demo:
|
36 |
-
img = gr.Image(show_label=False, type='pil')
|
37 |
textbox = gr.Textbox(show_label=False)
|
38 |
button = gr.Button("generate", variant="primary")
|
39 |
button.click(fn=generate, inputs=textbox, outputs=img)
|
|
|
29 |
).set(
|
30 |
button_large_text_weight='400',
|
31 |
input_background_fill='#ffffff',
|
32 |
+
#input_border_width='*block_border_width',
|
33 |
)
|
34 |
|
35 |
with gr.Blocks(theme=theme) as demo:
|
36 |
+
img = gr.Image(show_label=False, type='pil', height=512)
|
37 |
textbox = gr.Textbox(show_label=False)
|
38 |
button = gr.Button("generate", variant="primary")
|
39 |
button.click(fn=generate, inputs=textbox, outputs=img)
|