Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image, ImageDraw
|
|
4 |
import io
|
5 |
|
6 |
app = Flask(__name__)
|
7 |
-
model = YOLO('
|
8 |
class_names = ['Acne', 'Dark circles', 'blackheads', 'eczema', 'rosacea', 'whiteheads', 'wrinkles']
|
9 |
|
10 |
@app.route('/classify', methods=['POST'])
|
|
|
4 |
import io
|
5 |
|
6 |
app = Flask(__name__)
|
7 |
+
model = YOLO('best.pt') # Load your YOLO model
|
8 |
class_names = ['Acne', 'Dark circles', 'blackheads', 'eczema', 'rosacea', 'whiteheads', 'wrinkles']
|
9 |
|
10 |
@app.route('/classify', methods=['POST'])
|