Skincare-by-Dr-Aisha-Ghias commited on
Commit
dc74040
1 Parent(s): f2f6fcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ st.markdown(custom_css, unsafe_allow_html=True)
27
 
28
  # Initialize session state if it doesn't exist
29
  if "messages" not in st.session_state:
30
- st.session_state["messages"] = [{"role": "This AI model is designed to classify skin images into specific categories: Actinic Keratoses (akiec), Basal Cell Carcinoma (bcc), Benign Keratosis (bkl), Dermatofibroma (df), Melanoma (mel), Melanocytic Nevi (nv), and Vascular Lesions (vasc). It won't recognize general skin images. Ask More?"}]
31
 
32
  # Define the model query function with error handling for HuggingFace
33
  def query_model(image_data):
 
27
 
28
  # Initialize session state if it doesn't exist
29
  if "messages" not in st.session_state:
30
+ st.session_state["messages"] = [{"role": "assistant", "content": "This AI model is designed to classify skin images into specific categories: Actinic Keratoses (akiec), Basal Cell Carcinoma (bcc), Benign Keratosis (bkl), Dermatofibroma (df), Melanoma (mel), Melanocytic Nevi (nv), and Vascular Lesions (vasc). It won't recognize general skin images. You can ask more."}]
31
 
32
  # Define the model query function with error handling for HuggingFace
33
  def query_model(image_data):