Spaces:
Running
Running
Nanda Kumar
commited on
Commit
•
3824a5f
1
Parent(s):
f30bd3e
adding footer
Browse files- app.py +32 -2
- logfile.log +17 -6
app.py
CHANGED
@@ -62,10 +62,10 @@ def process_image(url_string,validation):
|
|
62 |
with column1:
|
63 |
pass
|
64 |
with column2:
|
65 |
-
st.image(upload, caption="Original Image",
|
66 |
with column3:
|
67 |
if finalimg is not None:
|
68 |
-
st.image(finalimg, caption="Final Image",
|
69 |
|
70 |
with column4:
|
71 |
pass
|
@@ -151,3 +151,33 @@ def uploadfile():
|
|
151 |
|
152 |
if __name__=="__main__":
|
153 |
uploadfile()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
with column1:
|
63 |
pass
|
64 |
with column2:
|
65 |
+
st.image(upload, caption="Original Image",width=None, use_column_width=None, clamp=False, channels="RGB", output_format="auto")
|
66 |
with column3:
|
67 |
if finalimg is not None:
|
68 |
+
st.image(finalimg, caption="Final Image",width=None, use_column_width=None, clamp=False, channels="RGB", output_format="auto")
|
69 |
|
70 |
with column4:
|
71 |
pass
|
|
|
151 |
|
152 |
if __name__=="__main__":
|
153 |
uploadfile()
|
154 |
+
footer="""<style>
|
155 |
+
a:link , a:visited{
|
156 |
+
color: #0000EE;
|
157 |
+
background-color: transparent;
|
158 |
+
text-decoration: underline;
|
159 |
+
}
|
160 |
+
|
161 |
+
a:hover, a:active {
|
162 |
+
color: #551A8B;
|
163 |
+
background-color: transparent;
|
164 |
+
text-decoration: underline;
|
165 |
+
}
|
166 |
+
|
167 |
+
.footer {
|
168 |
+
position: fixed;
|
169 |
+
left: 0;
|
170 |
+
bottom: 0;
|
171 |
+
width: 100%;
|
172 |
+
height:6%;
|
173 |
+
background-color: rgba(0,0,0,10);
|
174 |
+
color: white;
|
175 |
+
text-align: center;
|
176 |
+
border-radius:2px;
|
177 |
+
}
|
178 |
+
</style>
|
179 |
+
<div class="footer">
|
180 |
+
<p>Developed by <a style='display: block; text-align: center; text-decoration:none;' href="https://github.com/nandakumar1052" target="_blank">Nanda Kumar.T</a><p>
|
181 |
+
</div>
|
182 |
+
"""
|
183 |
+
st.markdown(footer,unsafe_allow_html=True)
|
logfile.log
CHANGED
@@ -1,6 +1,17 @@
|
|
1 |
-
2023-12-04
|
2 |
-
2023-12-04
|
3 |
-
2023-12-04
|
4 |
-
2023-12-04
|
5 |
-
2023-12-04
|
6 |
-
2023-12-04
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
2023-12-04 23:37:25,898 Starting new HTTPS connection (1): m.media-amazon.com:443
|
2 |
+
2023-12-04 23:37:26,154 https://m.media-amazon.com:443 "GET /images/I/91jrpkEN4cL.png HTTP/1.1" 200 598671
|
3 |
+
2023-12-04 23:37:26,167 STREAM b'IHDR' 16 13
|
4 |
+
2023-12-04 23:37:26,167 STREAM b'sRGB' 41 1
|
5 |
+
2023-12-04 23:37:26,167 STREAM b'gAMA' 54 4
|
6 |
+
2023-12-04 23:37:26,167 STREAM b'pHYs' 70 9
|
7 |
+
2023-12-04 23:37:26,167 STREAM b'tEXt' 91 68
|
8 |
+
2023-12-04 23:37:26,167 STREAM b'tEXt' 171 19
|
9 |
+
2023-12-04 23:37:26,167 STREAM b'IDAT' 202 65334
|
10 |
+
2023-12-04 23:37:26,167 Valid http Url
|
11 |
+
2023-12-04 23:37:26,238 STREAM b'IHDR' 16 13
|
12 |
+
2023-12-04 23:37:26,238 STREAM b'IDAT' 41 65536
|
13 |
+
2023-12-04 23:37:26,238 STREAM b'IHDR' 16 13
|
14 |
+
2023-12-04 23:37:26,238 STREAM b'IDAT' 41 65536
|
15 |
+
2023-12-04 23:37:26,241 Image was processed successfully
|
16 |
+
2023-12-04 23:37:26,253 Image was converted successfully
|
17 |
+
2023-12-04 23:37:26,253 Download Link created successfully
|