pranavanbupathy commited on
Commit
c8e306a
·
verified ·
1 Parent(s): ef6798f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 {"Result":result["label"]}
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,