Spaces:
Running
Running
Commit
·
02b9180
1
Parent(s):
6dfba09
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Initialize hotdog-not-hotdog pipeline
|
5 |
-
pipeline =
|
6 |
|
7 |
def predict(image):
|
8 |
return pipeline(image)
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Initialize hotdog-not-hotdog pipeline
|
5 |
+
pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
|
6 |
|
7 |
def predict(image):
|
8 |
return pipeline(image)
|