Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,29 +142,6 @@ def main():
|
|
| 142 |
|
| 143 |
st.write("Select a microcontroller and provide your code requirements to generate code.")
|
| 144 |
|
| 145 |
-
# Custom styling for the app with logo in top bar
|
| 146 |
-
st.markdown("""
|
| 147 |
-
<style>
|
| 148 |
-
.top-bar-logo {
|
| 149 |
-
position: absolute;
|
| 150 |
-
top: 0;
|
| 151 |
-
left: 0;
|
| 152 |
-
padding: 10px;
|
| 153 |
-
z-index: 100;
|
| 154 |
-
}
|
| 155 |
-
.stApp {
|
| 156 |
-
padding-top: 50px; /* Adjust this based on your logo size */
|
| 157 |
-
}
|
| 158 |
-
</style>
|
| 159 |
-
""", unsafe_allow_html=True)
|
| 160 |
-
|
| 161 |
-
# Add logo to the top bar using the new Imgur image URL
|
| 162 |
-
st.markdown("""
|
| 163 |
-
<div class="top-bar-logo">
|
| 164 |
-
<img src="https://i.imgur.com/CBm5exE.png" alt="Logo" width="150">
|
| 165 |
-
</div>
|
| 166 |
-
""", unsafe_allow_html=True)
|
| 167 |
-
|
| 168 |
# Sidebar with different selection options for users
|
| 169 |
with st.sidebar:
|
| 170 |
st.header("Microcontroller Selection")
|
|
|
|
| 142 |
|
| 143 |
st.write("Select a microcontroller and provide your code requirements to generate code.")
|
| 144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
# Sidebar with different selection options for users
|
| 146 |
with st.sidebar:
|
| 147 |
st.header("Microcontroller Selection")
|