Spaces:
Build error
Build error
Leo Liu commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,13 +24,7 @@ st.markdown("""
|
|
| 24 |
text-shadow: 2px 2px #FFF;
|
| 25 |
margin-bottom: 0.5rem !important; # 新增
|
| 26 |
}
|
| 27 |
-
|
| 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;
|
| 32 |
-
margin-top: 0 !important; # 新增
|
| 33 |
-
}
|
| 34 |
</style>
|
| 35 |
""", unsafe_allow_html=True)
|
| 36 |
|
|
@@ -59,7 +53,6 @@ def main():
|
|
| 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"])
|
|
|
|
| 24 |
text-shadow: 2px 2px #FFF;
|
| 25 |
margin-bottom: 0.5rem !important; # 新增
|
| 26 |
}
|
| 27 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
</style>
|
| 29 |
""", unsafe_allow_html=True)
|
| 30 |
|
|
|
|
| 53 |
st.markdown("""
|
| 54 |
<div class="header">
|
| 55 |
<h1>🪄 Magic Picture Storyteller </h1>
|
|
|
|
| 56 |
</div>
|
| 57 |
""", unsafe_allow_html=True)
|
| 58 |
uploaded_file = st.file_uploader("🌈 Choose your magic picture...", type=["jpg", "png"])
|