Spaces:
Sleeping
Sleeping
title
Browse files
app.py
CHANGED
|
@@ -1,8 +1,14 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
st.markdown(
|
| 7 |
-
|
| 8 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
|
| 4 |
+
def app():
|
| 5 |
+
st.title("Pawpularity score prediction")
|
| 6 |
+
st.markdown('<h2 style="color:gray;">This model predicts popularity of pet photo (cat or dog)</h2>', unsafe_allow_html=True)
|
| 7 |
+
text='<h3 style="color:gray;"> Model based on competition [PetFinder.my - Pawpularity Contest](https://www.kaggle.com/competitions/petfinder-pawpularity-score/overview)</h3>'
|
| 8 |
+
st.markdown(text, unsafe_allow_html=True)
|
| 9 |
+
x = st.slider('Select a value')
|
| 10 |
+
st.write(x, 'squared is', x * x)
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
if __name__ == "__main__":
|
| 14 |
+
app()
|