Spaces:
Running
Running
hatmanstack
commited on
Commit
·
f00a818
1
Parent(s):
9781d82
shenanigans
Browse files
app.py
CHANGED
@@ -171,12 +171,12 @@ with gr.Blocks() as demo:
|
|
171 |
The colors of the image will also be incorporated, along with the colors from the colors list. A generic color list has been provided behind the scenes if one isn't added.
|
172 |
""", elem_classes="center-markdown")
|
173 |
with gr.Row():
|
174 |
-
with gr.Column(scale=
|
175 |
colors = gr.Textbox(label="Colors", placeholder="Enter up to 10 colors as hex values, e.g., #00FF00,#FCF2AB", max_lines=1)
|
176 |
-
with gr.Column(scale=
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
prompt = gr.Textbox(label="Text", placeholder="Enter a text prompt (1-1024 characters)", max_lines=4)
|
181 |
gr.Button("Generate Prompt").click(generate_nova_prompt, outputs=prompt)
|
182 |
with gr.Accordion("Optional Reference Image", open=False):
|
|
|
171 |
The colors of the image will also be incorporated, along with the colors from the colors list. A generic color list has been provided behind the scenes if one isn't added.
|
172 |
""", elem_classes="center-markdown")
|
173 |
with gr.Row():
|
174 |
+
with gr.Column(scale=70):
|
175 |
colors = gr.Textbox(label="Colors", placeholder="Enter up to 10 colors as hex values, e.g., #00FF00,#FCF2AB", max_lines=1)
|
176 |
+
with gr.Column(scale=30):
|
177 |
+
color_picker = gr.ColorPicker(label="Color Picker", show_label=False, value='#473c80', interactive=True)
|
178 |
+
#add_color_button = gr.Button("Add Color")
|
179 |
+
#add_color_button.click(fn=add_color_to_list, inputs=[colors, color_picker], outputs=colors)
|
180 |
prompt = gr.Textbox(label="Text", placeholder="Enter a text prompt (1-1024 characters)", max_lines=4)
|
181 |
gr.Button("Generate Prompt").click(generate_nova_prompt, outputs=prompt)
|
182 |
with gr.Accordion("Optional Reference Image", open=False):
|