indiapuig commited on
Commit
4ab3bbe
·
verified ·
1 Parent(s): b3ced06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -0
app.py CHANGED
@@ -112,6 +112,27 @@ with gr.Blocks() as demo:
112
  topic_button.click(set_topic, inputs=topic_dropdown, outputs=topic_output)
113
  exam_button.click(set_mode, inputs=exam_dropdown, outputs=exam_output)
114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  demo.launch()
116
 
117
 
 
112
  topic_button.click(set_topic, inputs=topic_dropdown, outputs=topic_output)
113
  exam_button.click(set_mode, inputs=exam_dropdown, outputs=exam_output)
114
 
115
+ with gr.Blocks() as demo:
116
+ # Inject custom font styling
117
+ gr.HTML("""
118
+ <style>
119
+ @import url('https://fonts.googleapis.com/css2?family=Chewy&display=swap');
120
+
121
+ body {
122
+ font-family: 'Chewy', cursive !important;
123
+ }
124
+ h1, h2, h3, label {
125
+ color: #ff69b4; /* Cute pink */
126
+ }
127
+ .gradio-container {
128
+ background-color: #fffafc; /* Soft pink background */
129
+ }
130
+ </style>
131
+ """)
132
+
133
+ gr.Markdown("# ACE it! 📚 — GCSE Biology Tutor")
134
+
135
+
136
  demo.launch()
137
 
138