tywei08 commited on
Commit
e79dc41
·
verified ·
1 Parent(s): 9fa2d2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -2
app.py CHANGED
@@ -107,9 +107,30 @@ with gr.Blocks(css='''
107
  ''') as demo:
108
  with gr.Row():
109
  gr.HTML("""
110
- <h2 style='text-align: center; color: white;'>MoodShaker Cocktail Generator</h2>
111
- <p style='text-align: center; color: white;'>Enter your preferences and let AI create a unique cocktail recipe for you!</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  """)
 
 
 
 
113
 
114
  with gr.Row():
115
  mood = gr.Textbox(label="Mood")
 
107
  ''') as demo:
108
  with gr.Row():
109
  gr.HTML("""
110
+ <style>
111
+ body {
112
+ background-color: #2B2B2B; /* Dark background for elegance */
113
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Elegant and readable font */
114
+ }
115
+ h2, p {
116
+ text-align: center;
117
+ color: #D4AF37; /* Gold color for an upscale feel */
118
+ }
119
+ h2 {
120
+ margin-top: 20px;
121
+ font-size: 28px; /* Larger font size for the heading */
122
+ }
123
+ p {
124
+ font-size: 18px; /* Slightly smaller font size for the paragraph */
125
+ }
126
+ </style>
127
+ <h2>MoodShaker Cocktail Generator</h2>
128
+ <p>Enter your preferences and let AI create a unique cocktail recipe for you!</p>
129
  """)
130
+ # gr.HTML("""
131
+ # <h2 style='text-align: center; color: white;'>MoodShaker Cocktail Generator</h2>
132
+ # <p style='text-align: center; color: white;'>Enter your preferences and let AI create a unique cocktail recipe for you!</p>
133
+ # """)
134
 
135
  with gr.Row():
136
  mood = gr.Textbox(label="Mood")