chnaged model
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
pipeline = pipeline(task="image-classification", model="
|
5 |
|
6 |
def predict(input_img):
|
7 |
predictions = pipeline(input_img)
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
pipeline = pipeline(task="image-classification", model="AkshatSurolia/ConvNeXt-FaceMask-Finetuned")
|
5 |
|
6 |
def predict(input_img):
|
7 |
predictions = pipeline(input_img)
|