Nifemi Alpine Durin commited on
Commit
27a4093
·
1 Parent(s): 43342c7

set default dimension

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -52,7 +52,13 @@ iface = gr.Interface(
52
  gr.components.Textbox(value="", label="Logo Url"),
53
  gr.components.Textbox(placeholder="Heading text (not required)", label="Heading Text"),
54
  gr.components.Textbox(placeholder="Paragraph text (not required)", label="Sub Heading Text"),
55
- gr.components.Textbox(value="375x667", label="Image Dimension"),
 
 
 
 
 
 
56
  gr.components.Textbox(lines=4, placeholder="Enter your custom dall-e 2 image prompt here (not required)", value="", label="Custom Graphic Prompt")
57
  ],
58
  outputs=[
 
52
  gr.components.Textbox(value="", label="Logo Url"),
53
  gr.components.Textbox(placeholder="Heading text (not required)", label="Heading Text"),
54
  gr.components.Textbox(placeholder="Paragraph text (not required)", label="Sub Heading Text"),
55
+ gr.components.Dropdown(
56
+ choices=[
57
+ ("Mobile Portrait (750x1334)", "750x1334")
58
+ ],
59
+ default="750x1334",
60
+ label="Image Dimension"
61
+ ),
62
  gr.components.Textbox(lines=4, placeholder="Enter your custom dall-e 2 image prompt here (not required)", value="", label="Custom Graphic Prompt")
63
  ],
64
  outputs=[