Update app.py
Browse files
app.py
CHANGED
@@ -136,45 +136,36 @@ def toggle_hint_mode():
|
|
136 |
# UI
|
137 |
with gr.Blocks(title="Kasoti", theme=gr.themes.Soft(primary_hue="pink", secondary_hue="blue")) as demo:
|
138 |
gr.Markdown(
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
}
|
166 |
-
.subtitle-text {
|
167 |
-
font-size: 16px;
|
168 |
-
color: #555;
|
169 |
-
}
|
170 |
-
</style>
|
171 |
-
<div class='title-container'>
|
172 |
<div class='title-text'>π§ Kasoti - The Mind Reading Game</div>
|
173 |
<p class='subtitle-text'>Think of something and answer my yes/no questions β let's see if I can guess it in 20 tries! π΅οΈββοΈ</p>
|
174 |
-
|
175 |
-
|
176 |
-
)
|
177 |
-
|
178 |
with gr.Row():
|
179 |
start = gr.Button("π² Start Game")
|
180 |
hint_toggle = gr.Button("π‘ Toggle Hint Mode")
|
|
|
136 |
# UI
|
137 |
with gr.Blocks(title="Kasoti", theme=gr.themes.Soft(primary_hue="pink", secondary_hue="blue")) as demo:
|
138 |
gr.Markdown(
|
139 |
+
"""
|
140 |
+
<link href="https://fonts.googleapis.com/css2?family=Comic+Neue&display=swap" rel="stylesheet">
|
141 |
+
<style>
|
142 |
+
* { font-family: 'Comic Neue', cursive; }
|
143 |
+
body {
|
144 |
+
background: linear-gradient(120deg, #ffe0f0 0%, #e0f7ff 100%);
|
145 |
+
}
|
146 |
+
.gr-button {
|
147 |
+
border-radius: 12px !important;
|
148 |
+
font-size: 16px !important;
|
149 |
+
padding: 10px 18px !important;
|
150 |
+
}
|
151 |
+
.title-text {
|
152 |
+
text-align: center;
|
153 |
+
font-size: 32px;
|
154 |
+
color: #ff69b4;
|
155 |
+
font-weight: bold;
|
156 |
+
margin-bottom: 0;
|
157 |
+
}
|
158 |
+
.subtitle-text {
|
159 |
+
text-align: center;
|
160 |
+
font-size: 16px;
|
161 |
+
color: #555;
|
162 |
+
margin-top: 0;
|
163 |
+
}
|
164 |
+
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
<div class='title-text'>π§ Kasoti - The Mind Reading Game</div>
|
166 |
<p class='subtitle-text'>Think of something and answer my yes/no questions β let's see if I can guess it in 20 tries! π΅οΈββοΈ</p>
|
167 |
+
"""
|
168 |
+
)
|
|
|
|
|
169 |
with gr.Row():
|
170 |
start = gr.Button("π² Start Game")
|
171 |
hint_toggle = gr.Button("π‘ Toggle Hint Mode")
|