Spaces:
Runtime error
Runtime error
ShaharAdar
commited on
Commit
•
791b765
1
Parent(s):
938e272
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ pipeline = pipeline(task="image-classification", model="ShaharAdar/best-model-fo
|
|
5 |
|
6 |
def predict(input_img):
|
7 |
predictions = pipeline(input_img)
|
8 |
-
a =
|
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 |
+
a = 5
|
9 |
return input_img, {p["label"]: p["score"] for p in predictions}
|
10 |
|
11 |
gradio_app = gr.Interface(
|