rahideer commited on
Commit
d600c78
Β·
verified Β·
1 Parent(s): 52373e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -37
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
- <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
- margin: 0;
146
- padding: 0;
147
- text-align: center;
148
- }
149
- .gr-button {
150
- border-radius: 12px !important;
151
- font-size: 16px !important;
152
- padding: 10px 18px !important;
153
- }
154
- .title-container {
155
- display: flex;
156
- flex-direction: column;
157
- align-items: center;
158
- justify-content: center;
159
- margin-top: 20px;
160
- }
161
- .title-text {
162
- font-size: 36px;
163
- color: #ff69b4;
164
- font-weight: bold;
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
- </div>
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")