Spaces:
Configuration error
Configuration error
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,13 +7,4 @@ sdk: gradio
|
|
| 7 |
sdk_version: 3.50.2
|
| 8 |
app_file: app.py
|
| 9 |
pinned: true
|
| 10 |
-
short_description: Recommends party masks based on facial features
|
| 11 |
-
|
| 12 |
-
## First-Time Setup
|
| 13 |
-
|
| 14 |
-
1. Add this to `app.py` (before demo.launch()):
|
| 15 |
-
```python
|
| 16 |
-
# Automatic model training if files don't exist
|
| 17 |
-
if not os.path.exists('model/random_forest.pkl'):
|
| 18 |
-
print("⚙️ Training model for the first time...")
|
| 19 |
-
os.system('python train_model.py')
|
|
|
|
| 7 |
sdk_version: 3.50.2
|
| 8 |
app_file: app.py
|
| 9 |
pinned: true
|
| 10 |
+
short_description: Recommends party masks based on facial features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|