OLIVE2403 commited on
Commit
0ee04f2
·
verified ·
1 Parent(s): 0eddbaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -3
app.py CHANGED
@@ -36,7 +36,26 @@ def generate_brand_identity(startup_idea):
36
 
37
  return brand_names.strip(), tagline.strip(), personality.strip()
38
 
39
- # Gradio interface
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  iface = gr.Interface(
41
  fn=generate_brand_identity,
42
  inputs=gr.Textbox(lines=2, placeholder="Enter your startup idea here..."),
@@ -45,8 +64,10 @@ iface = gr.Interface(
45
  gr.Textbox(label="Tagline"),
46
  gr.Textbox(label="Brand Personality Description")
47
  ],
48
- title="Brand Identity Generator",
49
- description="Generate creative brand names, taglines, and brand personality descriptions for your startup idea using Gen AI."
 
 
50
  )
51
 
52
  iface.launch()
 
36
 
37
  return brand_names.strip(), tagline.strip(), personality.strip()
38
 
39
+ # Gradio interface with custom theme and CSS
40
+ css = """
41
+ h1 {
42
+ text-align: center;
43
+ color: #4A90E2;
44
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
45
+ }
46
+
47
+ textarea {
48
+ background-color: #f5f5f5 !important;
49
+ font-size: 16px !important;
50
+ }
51
+
52
+ footer {
53
+ text-align: center;
54
+ padding: 10px;
55
+ color: #888;
56
+ }
57
+ """
58
+
59
  iface = gr.Interface(
60
  fn=generate_brand_identity,
61
  inputs=gr.Textbox(lines=2, placeholder="Enter your startup idea here..."),
 
64
  gr.Textbox(label="Tagline"),
65
  gr.Textbox(label="Brand Personality Description")
66
  ],
67
+ title="🌟 Brand Identity Generator",
68
+ description="Generate creative brand names, taglines, and brand personality descriptions for your startup idea using Gen AI.",
69
+ css=css,
70
+ theme="soft"
71
  )
72
 
73
  iface.launch()