Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,38 @@ st.set_page_config(
|
|
19 |
initial_sidebar_state="expanded"
|
20 |
)
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
@st.cache_resource
|
23 |
def load_answer_verifier():
|
24 |
"""๋ต์ ๊ฒ์ฆ ๋ชจ๋ธ ๋ก๋"""
|
|
|
19 |
initial_sidebar_state="expanded"
|
20 |
)
|
21 |
|
22 |
+
# landing page ํจ์
|
23 |
+
# Custom CSS ์ถ๊ฐ
|
24 |
+
def add_custom_css_landing():
|
25 |
+
st.markdown(
|
26 |
+
"""
|
27 |
+
<style>
|
28 |
+
/* ํ์ด์ง ์ค์์ ์ ๋ชฉ ๋ฐฐ์น */
|
29 |
+
.center-title {
|
30 |
+
display: flex;
|
31 |
+
justify-content: center;
|
32 |
+
align-items: center;
|
33 |
+
height: 80vh; /* ํ๋ฉด์ 80% ๋์ด ์ค์ */
|
34 |
+
font-size: 50px;
|
35 |
+
font-weight: bold;
|
36 |
+
color: #FF6B6B; /* ์ ๋ชฉ ์๊น */
|
37 |
+
}
|
38 |
+
|
39 |
+
/* ๋ฐฐ๊ฒฝ ์๊น */
|
40 |
+
body {
|
41 |
+
background-color: #f9f9f9; /* ๋ฐ์ ํ์ ๋ฐฐ๊ฒฝ */
|
42 |
+
color: #333333; /* ๊ธฐ๋ณธ ํ
์คํธ ์๊น */
|
43 |
+
}
|
44 |
+
</style>
|
45 |
+
""",
|
46 |
+
unsafe_allow_html=True,
|
47 |
+
)
|
48 |
+
|
49 |
+
# CSS ์ถ๊ฐ
|
50 |
+
add_custom_css_landing()
|
51 |
+
st.markdown('<div class="center-title">MisconcepTutor</div>', unsafe_allow_html=True)
|
52 |
+
|
53 |
+
|
54 |
@st.cache_resource
|
55 |
def load_answer_verifier():
|
56 |
"""๋ต์ ๊ฒ์ฆ ๋ชจ๋ธ ๋ก๋"""
|