fffiloni commited on
Commit
43cd7f6
1 Parent(s): e5d255d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -0
app.py CHANGED
@@ -94,6 +94,23 @@ a {text-decoration-line: underline; font-weight: 600;}
94
  """
95
  with gr.Blocks(css=css) as demo:
96
  with gr.Column(elem_id="col-container"):
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  text = gr.Textbox(label="Subject", info="Will generate and tell a story about {your text input}")
98
  lang = gr.Dropdown(label="Pick a language", choices=["English", "French", "German", "Hindi", "Italian", "Polish", "Portuguese", "Spanish"], value="English")
99
  submit_btn = gr.Button('Submit')
 
94
  """
95
  with gr.Blocks(css=css) as demo:
96
  with gr.Column(elem_id="col-container"):
97
+ gr.HTML("""<div style="text-align: center; max-width: 700px; margin: 0 auto;">
98
+ <div
99
+ style="
100
+ display: inline-flex;
101
+ align-items: center;
102
+ gap: 0.8rem;
103
+ font-size: 1.75rem;
104
+ "
105
+ >
106
+ <h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">
107
+ Bedtime Story
108
+ </h1>
109
+ </div>
110
+ <p style="margin-bottom: 10px; font-size: 94%">
111
+ Generate a bedtime story for a 5 years old audience who needs to get sleep 😴
112
+ </p>
113
+ </div>""")
114
  text = gr.Textbox(label="Subject", info="Will generate and tell a story about {your text input}")
115
  lang = gr.Dropdown(label="Pick a language", choices=["English", "French", "German", "Hindi", "Italian", "Polish", "Portuguese", "Spanish"], value="English")
116
  submit_btn = gr.Button('Submit')