Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,25 +112,7 @@ 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 |
-
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()
|
|
|
|
| 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 |
|
|
|
|
| 116 |
|
| 117 |
|
| 118 |
demo.launch()
|