Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,11 @@ import base64
|
|
| 7 |
|
| 8 |
# Combined Code for Beard and Hairstyle Detection and Styling
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# Function to classify beard style
|
| 11 |
class BeardClassifier:
|
| 12 |
def __init__(self, model_path, class_names):
|
|
|
|
| 7 |
|
| 8 |
# Combined Code for Beard and Hairstyle Detection and Styling
|
| 9 |
|
| 10 |
+
background_image_paths = [
|
| 11 |
+
"Data/AdobeColorFunko/Outfits/DummyDress1.png",
|
| 12 |
+
"Data/AdobeColorFunko/Outfits/GlassesDummy.png",
|
| 13 |
+
"Data/AdobeColorFunko/Outfits/DummyDress3.png"
|
| 14 |
+
]
|
| 15 |
# Function to classify beard style
|
| 16 |
class BeardClassifier:
|
| 17 |
def __init__(self, model_path, class_names):
|