AI-Manith commited on
Commit
9297a20
·
verified ·
1 Parent(s): 207b286

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -4
app.py CHANGED
@@ -1,4 +1,4 @@
1
- # Codded by Manith Jayaba , All Rights Reserved ©
2
  import streamlit as st
3
  from PIL import Image
4
  import torch
@@ -73,11 +73,21 @@ This app can measure the oiliness and dryness of your skin in to 5 levels:
73
  3. Level 3: High Oily Skin
74
  4. Level 4: Very High Oily Skin
75
  5. High Level Dry Skin
 
 
 
 
 
 
 
 
 
 
76
  """)
77
 
78
- # Codded by Manith Jayaba , All Rights Reserved ©
79
 
80
- model_path = "model_v1.0.pt" # Adjust this path as necessary
81
  model, device = load_model(model_path)
82
 
83
  uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
@@ -134,4 +144,4 @@ if uploaded_file is not None:
134
  # Display the final processed image
135
  st.image(final_image, caption='Processed Image', use_column_width=True)
136
 
137
- # Codded by Manith Jayaba , All Rights Reserved ©
 
1
+ # Coded by Manith Jayaba , All Rights Reserved ©
2
  import streamlit as st
3
  from PIL import Image
4
  import torch
 
73
  3. Level 3: High Oily Skin
74
  4. Level 4: Very High Oily Skin
75
  5. High Level Dry Skin
76
+
77
+ Disclaimer:
78
+ - This application provides insights on skin oiliness for informational purposes only, not medical advice.
79
+ - Consult a dermatologist for personalized skincare assessment and recommendations.
80
+ - Accuracy varies with image quality and individual skin characteristics.
81
+ - Classifications rely on machine learning and may not always match the specific skin condition.
82
+ - Users are responsible for interpreting and acting on application insights, exercising caution in skincare decisions.
83
+ - We ensure user privacy and data security with strict policies.
84
+ - Regular updates enhance application accuracy and usability.
85
+ - Professional medical advice is recommended for comprehensive evaluation and treatment.
86
  """)
87
 
88
+ # Coded by Manith Jayaba , All Rights Reserved ©
89
 
90
+ model_path = "model_v2.0.pt" # Adjust this path as necessary
91
  model, device = load_model(model_path)
92
 
93
  uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
 
144
  # Display the final processed image
145
  st.image(final_image, caption='Processed Image', use_column_width=True)
146
 
147
+ # Coded by Manith Jayaba , All Rights Reserved ©