Update app.py
Browse files
app.py
CHANGED
|
@@ -159,7 +159,11 @@ st.markdown("""
|
|
| 159 |
# Add your app logic here...
|
| 160 |
|
| 161 |
# Display the app header
|
| 162 |
-
st.markdown("<h1 class='header'>AI Assistance</h1>", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
|
| 164 |
# Input OpenAI API key
|
| 165 |
openai_api_key = st.text_input("Enter your OpenAI API key:", type="password")
|
|
@@ -187,7 +191,17 @@ if openai_api_key:
|
|
| 187 |
"Text-To-Diagram-Generator"
|
| 188 |
))
|
| 189 |
|
| 190 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 191 |
|
| 192 |
if mode == "Course Query Assistant":
|
| 193 |
st.header("Course Query Assistant")
|
|
|
|
| 159 |
# Add your app logic here...
|
| 160 |
|
| 161 |
# Display the app header
|
| 162 |
+
st.markdown("<h1 class='header'>Smart AI Tutor Assistance</h1>", unsafe_allow_html=True)
|
| 163 |
+
|
| 164 |
+
# Display a logo or icon
|
| 165 |
+
image = Image.open("14313824.png") # Path to your image file
|
| 166 |
+
st.image(image, width=200) # You can adjust the width as needed
|
| 167 |
|
| 168 |
# Input OpenAI API key
|
| 169 |
openai_api_key = st.text_input("Enter your OpenAI API key:", type="password")
|
|
|
|
| 191 |
"Text-To-Diagram-Generator"
|
| 192 |
))
|
| 193 |
|
| 194 |
+
# Add Contact information in the sidebar
|
| 195 |
+
st.sidebar.markdown("""
|
| 196 |
+
## Contact
|
| 197 |
+
|
| 198 |
+
For any questions or issues, please contact:
|
| 199 |
+
|
| 200 |
+
- **Email**: [shukdevdatta@gmail.com](mailto:shukdevdatta@gmail.com)
|
| 201 |
+
- **GitHub**: [Click here to access the Github Profile](https://github.com/shukdevtroy)
|
| 202 |
+
- **WhatsApp**: [Click here to chat](https://wa.me/+8801719296601)
|
| 203 |
+
- **HuggingFace Profile**: [Click here to access the HuggingFace Profile](https://huggingface.co/shukdevdatta123)
|
| 204 |
+
""")
|
| 205 |
|
| 206 |
if mode == "Course Query Assistant":
|
| 207 |
st.header("Course Query Assistant")
|