Spaces:
Running
on
A10G
Running
on
A10G
devingulliver
commited on
Commit
·
6fac16d
1
Parent(s):
dc03412
Prompt user with placeholder in Generate box
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="green",secondary_hue="green", f
|
|
133 |
gr.Markdown("# Generate\nType a prompt and hit Go. Dendrokronos will generate an invisibly-watermarked image. \nYou can click the download button to save the finished image. Try it with the detector.")
|
134 |
with gr.Group():
|
135 |
with gr.Row():
|
136 |
-
gen_in = gr.Textbox(max_lines=1, show_label=False, scale=4)
|
137 |
gen_btn = gr.Button("Go", variant="primary", scale=0)
|
138 |
gen_out = gr.Image(interactive=False, show_label=False)
|
139 |
gen_btn.click(fn=manager, inputs=gen_in, outputs=gen_out)
|
|
|
133 |
gr.Markdown("# Generate\nType a prompt and hit Go. Dendrokronos will generate an invisibly-watermarked image. \nYou can click the download button to save the finished image. Try it with the detector.")
|
134 |
with gr.Group():
|
135 |
with gr.Row():
|
136 |
+
gen_in = gr.Textbox(max_lines=1, placeholder='try "a majestic tree at sunset, oil painting"', show_label=False, scale=4)
|
137 |
gen_btn = gr.Button("Go", variant="primary", scale=0)
|
138 |
gen_out = gr.Image(interactive=False, show_label=False)
|
139 |
gen_btn.click(fn=manager, inputs=gen_in, outputs=gen_out)
|