Spaces:
Sleeping
Sleeping
trest
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ from transformers import pipeline
|
|
4 |
pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
|
5 |
|
6 |
def predict(image):
|
|
|
|
|
7 |
predictions = pipeline(image)
|
8 |
return {p["label"]: p["score"] for p in predictions}
|
9 |
|
|
|
4 |
pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
|
5 |
|
6 |
def predict(image):
|
7 |
+
print('hello!')
|
8 |
+
print(image)
|
9 |
predictions = pipeline(image)
|
10 |
return {p["label"]: p["score"] for p in predictions}
|
11 |
|