Spaces:
Runtime error
Runtime error
Upload Home.py
Browse files
Home.py
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import requests
|
2 |
+
import streamlit as st
|
3 |
+
import yfinance as yf
|
4 |
+
import streamlit.components.v1 as components
|
5 |
+
from requests_html import HTMLSession
|
6 |
+
from streamlit_lottie import st_lottie
|
7 |
+
|
8 |
+
st.set_page_config('Home',":shark:","wide",menu_items={'About': "This is an *extremely* cool app!"})
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
x=requests.get('https://assets3.lottiefiles.com/packages/lf20_jtbfg2nb.json')
|
13 |
+
r=x.json()
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
+
with st.container():
|
19 |
+
st.subheader('Hi, I am Daniel :wave:')
|
20 |
+
st.title('A Data Analyst From Denmark')
|
21 |
+
st.write('This is a homepage to run and test different python scripts!')
|
22 |
+
|
23 |
+
|
24 |
+
with st.container():
|
25 |
+
st.write('---')
|
26 |
+
lc , rc =st.columns(2)
|
27 |
+
with lc:
|
28 |
+
st.header('What i do')
|
29 |
+
st.write('##')
|
30 |
+
st.write('''
|
31 |
+
- 1111111111111111111
|
32 |
+
- 2222222222222222222
|
33 |
+
- 3333333333333333333
|
34 |
+
''')
|
35 |
+
with rc:
|
36 |
+
st_lottie(r,height=300)
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
|