File tree Expand file tree Collapse file tree 3 files changed +39
-2
lines changed Expand file tree Collapse file tree 3 files changed +39
-2
lines changed Original file line number Diff line number Diff line change 1
1
data /*
2
2
model /*
3
+ tmp /*
3
4
4
5
# Byte-compiled / optimized / DLL files
5
6
__pycache__ /
Original file line number Diff line number Diff line change @@ -53,4 +53,39 @@ def add_section():
53
53
st .table (pd .DataFrame (outputs , columns = ['decontextualized excerpt' ]))
54
54
55
55
with st .expander ('text' ):
56
- st .markdown ('\n \n ' .join (outputs ))
56
+ st .markdown ('\n \n ' .join (outputs ))
57
+
58
+
59
+ def footer_section ():
60
+ hide_streamlit_style = '''
61
+ <style>
62
+ #MainMenu {visibility: hidden;}
63
+ footer {visibility: hidden;}
64
+ </style>
65
+ '''
66
+ st .markdown (hide_streamlit_style , unsafe_allow_html = True )
67
+
68
+ footer = '''
69
+ ---
70
+ <style>
71
+ button {
72
+ border: 4px solid;
73
+ border-color: #228b22;
74
+ border-radius: 4px;
75
+ background-color: #228b22;
76
+ color: #fffffd;
77
+ font-weight: bold;
78
+ padding-left: 5px;
79
+ padding-right: 5px;
80
+ }
81
+ </style>
82
+ <center>
83
+ <div>
84
+ <a href="https://paulbricman.com/contact"><button>send feedback</button></a>
85
+ <a href="https://github.com/paulbricman/lexiscore"><button>learn more</button></a>
86
+ <a href="https://github.com/sponsors/paulbricman"><button>support me 🤍</button></a>
87
+ </div>
88
+ </center>
89
+ '''
90
+
91
+ st .markdown (footer , unsafe_allow_html = True )
Original file line number Diff line number Diff line change 12
12
})
13
13
14
14
components .hero_section ()
15
- components .add_section ()
15
+ components .add_section ()
16
+ components .footer_section ()
You can’t perform that action at this time.
0 commit comments