Adhir commited on
Commit
92a8827
1 Parent(s): bb7f25f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def predict(image):
9
  predictions = pipeline(image)
10
  return {p["label"]: p["score"] for p in predictions}
11
 
12
- gr.interface(
13
  predict,
14
  inputs = gr.Image(label="Upload hot dog candidate", type = "filepath"),
15
  outputs = gr.Label(num_top_classes=2),
 
9
  predictions = pipeline(image)
10
  return {p["label"]: p["score"] for p in predictions}
11
 
12
+ gr.Interface(
13
  predict,
14
  inputs = gr.Image(label="Upload hot dog candidate", type = "filepath"),
15
  outputs = gr.Label(num_top_classes=2),