Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,6 @@ pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotd
|
|
5 |
|
6 |
def predict(input_img):
|
7 |
predictions = pipeline(input_img)
|
8 |
-
print(f"TEST: {predictions}")
|
9 |
return input_img, {p["label"]: p["score"] for p in predictions}
|
10 |
|
11 |
gradio_app = gr.Interface(
|
|
|
5 |
|
6 |
def predict(input_img):
|
7 |
predictions = pipeline(input_img)
|
|
|
8 |
return input_img, {p["label"]: p["score"] for p in predictions}
|
9 |
|
10 |
gradio_app = gr.Interface(
|