Spaces:
Running
Running
Nifemi Alpine Durin
commited on
Commit
·
a340312
1
Parent(s):
41c3026
fix
Browse files
app.py
CHANGED
@@ -42,16 +42,16 @@ def generate_image(brand_name, primary_color, secondary_color, description, targ
|
|
42 |
iface = gr.Interface(
|
43 |
fn=generate_image,
|
44 |
inputs=[
|
45 |
-
gr.components.Textbox(
|
46 |
gr.components.ColorPicker(value="#FFFFFF", label="Primary Color"),
|
47 |
gr.components.ColorPicker(value="#05A592", label="Secondary Color"),
|
48 |
-
gr.components.Textbox(
|
49 |
-
gr.components.Textbox(
|
50 |
-
gr.components.Textbox(
|
51 |
gr.components.Textbox(value="", label="Logo Url"),
|
52 |
-
gr.components.Textbox(
|
53 |
-
gr.components.Textbox(
|
54 |
-
gr.components.Textbox(value="", label="Custom Graphic Prompt")
|
55 |
],
|
56 |
outputs=[
|
57 |
gr.components.Image(label="Generated Image")
|
|
|
42 |
iface = gr.Interface(
|
43 |
fn=generate_image,
|
44 |
inputs=[
|
45 |
+
gr.components.Textbox(placeholder="Brand/Company Name", label="Brand Name"),
|
46 |
gr.components.ColorPicker(value="#FFFFFF", label="Primary Color"),
|
47 |
gr.components.ColorPicker(value="#05A592", label="Secondary Color"),
|
48 |
+
gr.components.Textbox(placeholder="Brief description of your brand", label="Description", lines=2),
|
49 |
+
gr.components.Textbox(placeholder="Your Brand's target audience", label="Target Audience"),
|
50 |
+
gr.components.Textbox(placeholder="Google Font Label i.e Rubik", label="Font"),
|
51 |
gr.components.Textbox(value="", label="Logo Url"),
|
52 |
+
gr.components.Textbox(placeholder="Heading text", label="Heading Text"),
|
53 |
+
gr.components.Textbox(placeholder="Paragraph text", label="Sub Heading Text"),
|
54 |
+
gr.components.Textbox(lines=4, placeholder="Enter your custom dall-e 2 image prompt here (not required)", value="", label="Custom Graphic Prompt")
|
55 |
],
|
56 |
outputs=[
|
57 |
gr.components.Image(label="Generated Image")
|