Spaces:
Sleeping
Sleeping
Download app.py from Mascota-virtual/App_1: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/spaces/Mascota-virtual/App_1/resolve/main/app.py
- Command line
-
hf download hf://spaces/Mascota-virtual/App_1/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Mascota-virtual/App_1/resolve/main/app.py
1.04 kB
| import streamlit as st | |
| st.markdown( | |
| """ | |
| <style> | |
| .stApp { | |
| background-image: url('https://static.vecteezy.com/system/resources/previews/006/696/089/non_2x/rural-farm-field-landscape-with-tractor-and-buildings-cartoon-illustration-concept-vector.jpg'); | |
| background-size: cover; | |
| background-position: center; | |
| color: white;} | |
| .title { | |
| font-size: 70px; | |
| font-weight: bold; | |
| text-align:center; | |
| color: black; | |
| margin-top: 40px; | |
| } | |
| .subtitle { | |
| font-size: 20px; | |
| text-align:center; | |
| color: black; | |
| backround-color: white; | |
| } | |
| </style> | |
| """, | |
| unsafe_allow_html=True | |
| ) | |
| container=st.container(border=True) | |
| container.markdown('<div class="title">DESAFIAMENT PELUT!</div>', unsafe_allow_html=True) | |
| container.markdown('<div class="subtitle">Creat per Karen i Berta</div>', unsafe_allow_html=True) | |
| col1,col2,col3,col4,col5=st.columns(5) | |
| col3.link_button("COMENÇA","https://huggingface.co/spaces/Mascota-virtual/Casa") | |