Nifemi Alpine Durin commited on
Commit
a340312
·
1 Parent(s): 41c3026
Files changed (1) hide show
  1. app.py +7 -7
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(value="Nova", 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(value="Nova is an AI assistant", label="Description", lines=2),
49
- gr.components.Textbox(value="Adults from 18 and above", label="Target Audience"),
50
- gr.components.Textbox(value="Arial", label="Font"),
51
  gr.components.Textbox(value="", label="Logo Url"),
52
- gr.components.Textbox(value="Nova Links Google Docs & Sheets", label="Heading Text"),
53
- gr.components.Textbox(value="The seamless creation of documents and spreadsheets by the Nova AI assistant", label="Sub Heading Text")
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")