Spaces:
Sleeping
Sleeping
Leo Liu
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ st.markdown("""
|
|
25 |
margin-bottom: 0.5rem !important; # 新增
|
26 |
}
|
27 |
.header h4 {
|
28 |
-
color: #
|
29 |
font-family: 'Comic Neue', cursive !important;
|
30 |
font-size: 1.4rem !important; # 从原2rem调整为1.4rem
|
31 |
text-shadow: 1px 1px #FFF;
|
@@ -58,8 +58,8 @@ def main():
|
|
58 |
# 新版标题区
|
59 |
st.markdown("""
|
60 |
<div class="header">
|
61 |
-
<h1>🪄 Magic Picture
|
62 |
-
<
|
63 |
</div>
|
64 |
""", unsafe_allow_html=True)
|
65 |
uploaded_file = st.file_uploader("🌈 Choose your magic picture...", type=["jpg", "png"])
|
|
|
25 |
margin-bottom: 0.5rem !important; # 新增
|
26 |
}
|
27 |
.header h4 {
|
28 |
+
color: #FF6B6B !important; # 新增
|
29 |
font-family: 'Comic Neue', cursive !important;
|
30 |
font-size: 1.4rem !important; # 从原2rem调整为1.4rem
|
31 |
text-shadow: 1px 1px #FFF;
|
|
|
58 |
# 新版标题区
|
59 |
st.markdown("""
|
60 |
<div class="header">
|
61 |
+
<h1>🪄 Magic Picture Storyteller </h1>
|
62 |
+
<h5 style="color:#FF6B6B">Upload any photo to Get a fairy tale!</h5>
|
63 |
</div>
|
64 |
""", unsafe_allow_html=True)
|
65 |
uploaded_file = st.file_uploader("🌈 Choose your magic picture...", type=["jpg", "png"])
|