Update index.html
Browse files- index.html +3 -4
index.html
CHANGED
@@ -22,7 +22,6 @@ async def generate_fortune(name):
|
|
22 |
|
23 |
return f"{name.strip()}, your fortune: In the near future, you will{fortune}"
|
24 |
|
25 |
-
# Custom CSS for a more appealing look
|
26 |
custom_css = """
|
27 |
.container {
|
28 |
max-width: 800px !important;
|
@@ -65,7 +64,7 @@ custom_css = """
|
|
65 |
"""
|
66 |
|
67 |
with gr.Blocks(
|
68 |
-
title="
|
69 |
theme=gr.themes.Soft(
|
70 |
primary_hue="pink",
|
71 |
secondary_hue="blue",
|
@@ -73,12 +72,12 @@ with gr.Blocks(
|
|
73 |
css=custom_css
|
74 |
) as demo:
|
75 |
with gr.Column(elem_classes="container"):
|
76 |
-
gr.Markdown("#
|
77 |
gr.Markdown("Discover your future with our AI-powered fortune cookies! Share your unique fortune with friends!", elem_classes="subtitle")
|
78 |
|
79 |
name_input = gr.Textbox(label="Your Name", placeholder="Enter your name here...", elem_classes="input-box")
|
80 |
fortune_output = gr.Textbox(label="Your AI-Generated Fortune", elem_classes="output-box", lines=3)
|
81 |
-
submit_button = gr.Button("
|
82 |
|
83 |
gr.Markdown("Share your fortune on social media and tag us! #AIFortuneCookie", elem_classes="footer")
|
84 |
|
|
|
22 |
|
23 |
return f"{name.strip()}, your fortune: In the near future, you will{fortune}"
|
24 |
|
|
|
25 |
custom_css = """
|
26 |
.container {
|
27 |
max-width: 800px !important;
|
|
|
64 |
"""
|
65 |
|
66 |
with gr.Blocks(
|
67 |
+
title="Viral Fortune Cookie Generator",
|
68 |
theme=gr.themes.Soft(
|
69 |
primary_hue="pink",
|
70 |
secondary_hue="blue",
|
|
|
72 |
css=custom_css
|
73 |
) as demo:
|
74 |
with gr.Column(elem_classes="container"):
|
75 |
+
gr.Markdown("# AI Fortune Cookie Generator", elem_classes="title")
|
76 |
gr.Markdown("Discover your future with our AI-powered fortune cookies! Share your unique fortune with friends!", elem_classes="subtitle")
|
77 |
|
78 |
name_input = gr.Textbox(label="Your Name", placeholder="Enter your name here...", elem_classes="input-box")
|
79 |
fortune_output = gr.Textbox(label="Your AI-Generated Fortune", elem_classes="output-box", lines=3)
|
80 |
+
submit_button = gr.Button("Reveal Your Cosmic Fortune", elem_classes="generate-btn")
|
81 |
|
82 |
gr.Markdown("Share your fortune on social media and tag us! #AIFortuneCookie", elem_classes="footer")
|
83 |
|