Update app.py
Browse files
app.py
CHANGED
|
@@ -30,11 +30,6 @@ st.write(
|
|
| 30 |
text-align: center;
|
| 31 |
color: #17becf;
|
| 32 |
}
|
| 33 |
-
.sticky-sidebar {
|
| 34 |
-
position: -webkit-sticky;
|
| 35 |
-
position: sticky;
|
| 36 |
-
top: 0;
|
| 37 |
-
}
|
| 38 |
</style>
|
| 39 |
""",
|
| 40 |
unsafe_allow_html=True,
|
|
@@ -56,20 +51,6 @@ st.markdown("<div style='text-align:center;'>Choose a query from <b>Select a pro
|
|
| 56 |
# inference_server = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
|
| 57 |
# inference_server = "https://api-inference.huggingface.co/models/codellama/CodeLlama-13b-hf"
|
| 58 |
# inference_server = "https://api-inference.huggingface.co/models/pandasai/bamboo-llm"
|
| 59 |
-
st.markdown(
|
| 60 |
-
"""
|
| 61 |
-
<style>
|
| 62 |
-
.sidebar .sidebar-content {
|
| 63 |
-
position: sticky;
|
| 64 |
-
top: 0;
|
| 65 |
-
height: 100vh;
|
| 66 |
-
overflow-y: auto;
|
| 67 |
-
overflow-x: hidden;
|
| 68 |
-
}
|
| 69 |
-
</style>
|
| 70 |
-
""",
|
| 71 |
-
unsafe_allow_html=True
|
| 72 |
-
)
|
| 73 |
|
| 74 |
image_path = "IITGN_Logo.png"
|
| 75 |
|
|
@@ -327,4 +308,20 @@ contact_details = """
|
|
| 327 |
|
| 328 |
# Display contact details with message
|
| 329 |
st.sidebar.markdown("<hr>", unsafe_allow_html=True)
|
| 330 |
-
st.sidebar.markdown(contact_details, unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
text-align: center;
|
| 31 |
color: #17becf;
|
| 32 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
</style>
|
| 34 |
""",
|
| 35 |
unsafe_allow_html=True,
|
|
|
|
| 51 |
# inference_server = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
|
| 52 |
# inference_server = "https://api-inference.huggingface.co/models/codellama/CodeLlama-13b-hf"
|
| 53 |
# inference_server = "https://api-inference.huggingface.co/models/pandasai/bamboo-llm"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
image_path = "IITGN_Logo.png"
|
| 56 |
|
|
|
|
| 308 |
|
| 309 |
# Display contact details with message
|
| 310 |
st.sidebar.markdown("<hr>", unsafe_allow_html=True)
|
| 311 |
+
st.sidebar.markdown(contact_details, unsafe_allow_html=True)
|
| 312 |
+
|
| 313 |
+
|
| 314 |
+
st.markdown(
|
| 315 |
+
"""
|
| 316 |
+
<style>
|
| 317 |
+
.sidebar .sidebar-content {
|
| 318 |
+
position: sticky;
|
| 319 |
+
top: 0;
|
| 320 |
+
height: 100vh;
|
| 321 |
+
overflow-y: auto;
|
| 322 |
+
overflow-x: hidden;
|
| 323 |
+
}
|
| 324 |
+
</style>
|
| 325 |
+
""",
|
| 326 |
+
unsafe_allow_html=True
|
| 327 |
+
)
|