Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -81,3 +81,49 @@ submit_button = st.button("Ask")
|
|
81 |
if submit_button and component_name:
|
82 |
response = get_gemini_response(component_name)
|
83 |
st.write("**Bot:**", response)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
if submit_button and component_name:
|
82 |
response = get_gemini_response(component_name)
|
83 |
st.write("**Bot:**", response)
|
84 |
+
|
85 |
+
|
86 |
+
|
87 |
+
# Footer HTML code
|
88 |
+
footer_with_image_light_blue = """
|
89 |
+
<style>
|
90 |
+
.footer {
|
91 |
+
padding: 20px;
|
92 |
+
text-align: center;
|
93 |
+
background-color: #f0f0f0;
|
94 |
+
position: fixed;
|
95 |
+
left: 0;
|
96 |
+
bottom: 0;
|
97 |
+
width: 100%;
|
98 |
+
}
|
99 |
+
.line {
|
100 |
+
border-top: 1px solid #ddd;
|
101 |
+
margin: 10px 0;
|
102 |
+
}
|
103 |
+
.connect-text {
|
104 |
+
font-size: 18px;
|
105 |
+
margin-bottom: 10px;
|
106 |
+
}
|
107 |
+
.footer img {
|
108 |
+
margin: 0 10px;
|
109 |
+
}
|
110 |
+
.powered-by {
|
111 |
+
font-size: 14px;
|
112 |
+
color: #888;
|
113 |
+
}
|
114 |
+
</style>
|
115 |
+
|
116 |
+
<div class="footer">
|
117 |
+
<div class="line"></div>
|
118 |
+
<div class="connect-text">Connect with me at</div>
|
119 |
+
<a href="https://github.com/FasilHameed" target="_blank"><img src="https://img.icons8.com/plasticine/30/000000/github.png" alt="GitHub"></a>
|
120 |
+
<a href="https://www.linkedin.com/in/faisal--hameed/" target="_blank"><img src="https://img.icons8.com/plasticine/30/000000/linkedin.png" alt="LinkedIn"></a>
|
121 |
+
<a href="tel:+917006862681"><img src="https://img.icons8.com/plasticine/30/000000/phone.png" alt="Phone"></a>
|
122 |
+
<a href="mailto:faisalhameed763@gmail.com"><img src="https://img.icons8.com/plasticine/30/000000/gmail.png" alt="Gmail"></a>
|
123 |
+
<div class="line"></div>
|
124 |
+
<div class="powered-by">Powered By <img src="https://img.icons8.com/clouds/30/000000/gemini.png" alt="Gemini"> Gemini 💫 and Streamlit 🚀</div>
|
125 |
+
</div>
|
126 |
+
"""
|
127 |
+
|
128 |
+
# Render Footer
|
129 |
+
st.markdown(footer_with_image_light_blue, unsafe_allow_html=True)
|