Spaces:
Runtime error
Runtime error
Commit
Β·
5c0e5df
1
Parent(s):
b991d0a
Tweak style
Browse files
app.py
CHANGED
@@ -34,6 +34,7 @@ with gradio.Blocks(css="""
|
|
34 |
margin-right: auto;
|
35 |
text-decoration: underline;
|
36 |
box-shadow: none;
|
|
|
37 |
}
|
38 |
.rounded-lg {
|
39 |
border: none;
|
@@ -90,7 +91,7 @@ with gradio.Blocks(css="""
|
|
90 |
border-radius: 0;
|
91 |
}
|
92 |
""") as demo:
|
93 |
-
animal = gradio.Textbox(label="a children's drawing of a...", elem_id="input-text")
|
94 |
output = gradio.Image(elem_id="output-image")
|
95 |
go_button = gradio.Button("draw it!", elem_id="go-button")
|
96 |
go_button.click(fn=image_prompt, inputs=animal, outputs=output)
|
|
|
34 |
margin-right: auto;
|
35 |
text-decoration: underline;
|
36 |
box-shadow: none;
|
37 |
+
color: blue;
|
38 |
}
|
39 |
.rounded-lg {
|
40 |
border: none;
|
|
|
91 |
border-radius: 0;
|
92 |
}
|
93 |
""") as demo:
|
94 |
+
animal = gradio.Textbox(label="generate a children's drawing of a...", elem_id="input-text")
|
95 |
output = gradio.Image(elem_id="output-image")
|
96 |
go_button = gradio.Button("draw it!", elem_id="go-button")
|
97 |
go_button.click(fn=image_prompt, inputs=animal, outputs=output)
|