Spaces:
Sleeping
Sleeping
Create app.py
Browse filesjust testing hugging face
app.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from sklearn.datasets import load_iris
|
3 |
+
|
4 |
+
st.title("Hello World")
|
5 |
+
st.header("This is a header")
|
6 |
+
st.write("Hello class!")
|
7 |
+
|
8 |
+
data = load_iris(as_frame=True)
|
9 |
+
df = data.data
|
10 |
+
|
11 |
+
st.write("## this is a subtitle")
|
12 |
+
st.dataframe(df)
|