Spaces:
Sleeping
Sleeping
uploading changes to template
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title: Example
|
3 |
emoji: 🏢
|
4 |
colorFrom: blue
|
5 |
colorTo: gray
|
|
|
1 |
---
|
2 |
+
title: My IS445 Example ID13029
|
3 |
emoji: 🏢
|
4 |
colorFrom: blue
|
5 |
colorTo: gray
|
app.py
CHANGED
@@ -10,9 +10,9 @@ import streamlit as st
|
|
10 |
import altair as alt
|
11 |
from vega_datasets import data
|
12 |
|
13 |
-
st.title('
|
14 |
|
15 |
-
st.text("The URL for this app is: https://huggingface.co/spaces/
|
16 |
|
17 |
source = data.seattle_weather()
|
18 |
|
@@ -33,7 +33,7 @@ points = (
|
|
33 |
alt.Chart()
|
34 |
.mark_point()
|
35 |
.encode(
|
36 |
-
alt.X("monthdate(date):T", title="Date"),
|
37 |
alt.Y(
|
38 |
"temp_max:Q",
|
39 |
title="Maximum Daily Temperature (C)",
|
@@ -63,7 +63,7 @@ bars = (
|
|
63 |
.add_params(click)
|
64 |
)
|
65 |
|
66 |
-
chart = alt.vconcat(points, bars, data=source, title="Seattle Weather
|
67 |
|
68 |
tab1, tab2 = st.tabs(["Streamlit theme (default)", "Altair native theme"])
|
69 |
|
|
|
10 |
import altair as alt
|
11 |
from vega_datasets import data
|
12 |
|
13 |
+
st.title('Streamlit App for IS445: ID13029')
|
14 |
|
15 |
+
st.text("The URL for this app is: https://huggingface.co/spaces/kchou6/is445_demo")
|
16 |
|
17 |
source = data.seattle_weather()
|
18 |
|
|
|
33 |
alt.Chart()
|
34 |
.mark_point()
|
35 |
.encode(
|
36 |
+
alt.X("monthdate(date):T", title="Date (Month Year)"),
|
37 |
alt.Y(
|
38 |
"temp_max:Q",
|
39 |
title="Maximum Daily Temperature (C)",
|
|
|
63 |
.add_params(click)
|
64 |
)
|
65 |
|
66 |
+
chart = alt.vconcat(points, bars, data=source, title="Seattle Weather - 2018 to 2027")
|
67 |
|
68 |
tab1, tab2 = st.tabs(["Streamlit theme (default)", "Altair native theme"])
|
69 |
|