Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
| 4 |
# Initialize the classification pipeline with your private model and token
|
| 5 |
pipe = pipeline(
|
| 6 |
task="image-classification",
|
| 7 |
-
model="
|
| 8 |
)
|
| 9 |
|
| 10 |
# Define custom CSS to style the header, footer, and main container
|
|
|
|
| 4 |
# Initialize the classification pipeline with your private model and token
|
| 5 |
pipe = pipeline(
|
| 6 |
task="image-classification",
|
| 7 |
+
model="scfive/Weapons_class", # Replace with your model repository identifier
|
| 8 |
)
|
| 9 |
|
| 10 |
# Define custom CSS to style the header, footer, and main container
|