Spaces:
Running
Running
Commit
·
a606142
1
Parent(s):
c7b3a23
Updated footer
Browse files
app.py
CHANGED
@@ -135,5 +135,34 @@ def main(det_archs, reco_archs):
|
|
135 |
|
136 |
if __name__ == "__main__":
|
137 |
main(DET_ARCHS, RECO_ARCHS)
|
138 |
-
st.markdown("Used Github Actions to automatically build the app on any updates on this [github repo link](https://github.com/deepanshu2207/imgtotxt_using_DocTR)")
|
139 |
-
st.caption("Made with ❤️ by Deepanshu. Credits to 🤗 Spaces for Hosting this.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
|
136 |
if __name__ == "__main__":
|
137 |
main(DET_ARCHS, RECO_ARCHS)
|
138 |
+
# st.markdown("Used Github Actions to automatically build the app on any updates on this [github repo link](https://github.com/deepanshu2207/imgtotxt_using_DocTR)")
|
139 |
+
# st.caption("Made with ❤️ by Deepanshu. Credits to 🤗 Spaces for Hosting this.")
|
140 |
+
|
141 |
+
footer="""<style>
|
142 |
+
a:link , a:visited{
|
143 |
+
color: blue;
|
144 |
+
background-color: transparent;
|
145 |
+
text-decoration: underline;
|
146 |
+
}
|
147 |
+
|
148 |
+
a:hover, a:active {
|
149 |
+
color: red;
|
150 |
+
background-color: transparent;
|
151 |
+
text-decoration: underline;
|
152 |
+
}
|
153 |
+
|
154 |
+
.footer {
|
155 |
+
position: fixed;
|
156 |
+
left: 0;
|
157 |
+
bottom: 0;
|
158 |
+
width: 100%;
|
159 |
+
background-color: white;
|
160 |
+
color: black;
|
161 |
+
text-align: center;
|
162 |
+
}
|
163 |
+
</style>
|
164 |
+
<div class="footer">
|
165 |
+
<p>Made with ❤️ by Deepanshu. Credits to 🤗 Spaces for Hosting this. Used Github Actions to automatically build the app on any updates on this <a style='display: block; text-align: center;' href="https://github.com/deepanshu2207/imgtotxt_using_DocTR" target="_blank">github repo link</a></p>
|
166 |
+
</div>
|
167 |
+
"""
|
168 |
+
st.markdown(footer,unsafe_allow_html=True)
|