Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ pipeline = pipeline(task="image-classification", model="pranavanbupathy/test-cif
|
|
6 |
def predict(image):
|
7 |
predictions = pipeline(image)
|
8 |
result = predictions[0]
|
9 |
-
return
|
10 |
|
11 |
gr.Interface(
|
12 |
predict,
|
|
|
6 |
def predict(image):
|
7 |
predictions = pipeline(image)
|
8 |
result = predictions[0]
|
9 |
+
return result["label"]
|
10 |
|
11 |
gr.Interface(
|
12 |
predict,
|