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