BenTouss commited on
Commit
cb0af97
·
1 Parent(s): 432bf85
Files changed (1) hide show
  1. app.py +2 -0
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