Update app.py
Browse files
app.py
CHANGED
|
@@ -40,8 +40,8 @@ def gradio_generate_headlines(number_of_headlines, target_audience, product, tem
|
|
| 40 |
with gr.Blocks(css=".gradio-container { background-color: #f8f8f8; }") as demo:
|
| 41 |
gr.Markdown(
|
| 42 |
"""
|
| 43 |
-
<h1 style="color: #2c7be5; text-align: center;">
|
| 44 |
-
<p style="color: #212529; text-align: center;">
|
| 45 |
"""
|
| 46 |
)
|
| 47 |
|
|
@@ -54,7 +54,7 @@ with gr.Blocks(css=".gradio-container { background-color: #f8f8f8; }") as demo:
|
|
| 54 |
submit_btn = gr.Button("Generar Titulares")
|
| 55 |
|
| 56 |
with gr.Column(scale=2):
|
| 57 |
-
output = gr.Textbox(label="Titulares Generados", lines=
|
| 58 |
|
| 59 |
submit_btn.click(
|
| 60 |
fn=gradio_generate_headlines,
|
|
|
|
| 40 |
with gr.Blocks(css=".gradio-container { background-color: #f8f8f8; }") as demo:
|
| 41 |
gr.Markdown(
|
| 42 |
"""
|
| 43 |
+
<h1 style="color: #2c7be5; text-align: center;">Hook Customers</h1>
|
| 44 |
+
<p style="color: #212529; text-align: center;">Engancha a tus clientes con titulares atractivos</p>
|
| 45 |
"""
|
| 46 |
)
|
| 47 |
|
|
|
|
| 54 |
submit_btn = gr.Button("Generar Titulares")
|
| 55 |
|
| 56 |
with gr.Column(scale=2):
|
| 57 |
+
output = gr.Textbox(label="Titulares Generados", lines=30, placeholder="Los titulares aparecerán aquí...")
|
| 58 |
|
| 59 |
submit_btn.click(
|
| 60 |
fn=gradio_generate_headlines,
|