Spaces:
Running
Running
Aniket
commited on
Commit
Β·
c1a57f5
1
Parent(s):
8d144da
added sidebar
Browse files
app.py
CHANGED
@@ -71,7 +71,40 @@ def type_effect(text):
|
|
71 |
time.sleep(0.05)
|
72 |
st.write("")
|
73 |
|
74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
st.title("Medical chatbot")
|
76 |
|
77 |
st.write("Welcome to the medical chatbot. Please enter your symptoms below and I will try to help you.")
|
|
|
71 |
time.sleep(0.05)
|
72 |
st.write("")
|
73 |
|
74 |
+
import streamlit as st
|
75 |
+
|
76 |
+
# Sidebar content
|
77 |
+
with st.sidebar:
|
78 |
+
st.title('π€ Medical Chatbot Project')
|
79 |
+
st.markdown("""
|
80 |
+
Welcome to our Medical Chatbot project, an AI-powered application designed to assist users with their medical queries through intelligent interactions.
|
81 |
+
""")
|
82 |
+
|
83 |
+
st.header('π Key Features:')
|
84 |
+
st.markdown("""
|
85 |
+
- **Custom LLM Model**: Utilizes a custom Large Language Model hosted on Hugging Face for tailored medical responses.
|
86 |
+
- **Hugging Face Integration**: Secure access using Hugging Face credentials for model authentication.
|
87 |
+
- **Streamlit Interface**: User-friendly and intuitive interface built with Streamlit.
|
88 |
+
- **LangChain for Prompt Management**: Ensures precise and contextually appropriate responses by managing prompts and chat history.
|
89 |
+
- **Pinecone for Vector Storage**: Efficient vector storage and retrieval for quick access to relevant information.
|
90 |
+
""")
|
91 |
+
|
92 |
+
st.header('π Future Enhancements:')
|
93 |
+
st.markdown("""
|
94 |
+
- **Real-time Model Loading**: On-demand model loading with progress indicators.
|
95 |
+
- **Enhanced Medical Knowledge Base**: Continuous updates to keep the model current with the latest medical information.
|
96 |
+
""")
|
97 |
+
|
98 |
+
st.header('β οΈ Disclaimer:')
|
99 |
+
st.markdown("""
|
100 |
+
**Please Note**: This chatbot is designed to provide general medical information and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health providers with any questions you may have regarding a medical condition. Never disregard professional medical advice or delay in seeking it because of something you have read on this application.
|
101 |
+
""")
|
102 |
+
|
103 |
+
st.markdown("""
|
104 |
+
This project aims to provide a reliable, accessible, and user-friendly platform for preliminary medical consultations. Explore the features and provide feedback to help us improve. Thank you for being a part of our journey to revolutionize medical assistance with AI!
|
105 |
+
""")
|
106 |
+
|
107 |
+
|
108 |
st.title("Medical chatbot")
|
109 |
|
110 |
st.write("Welcome to the medical chatbot. Please enter your symptoms below and I will try to help you.")
|