ashrestha commited on
Commit
087b7c5
1 Parent(s): 7641eb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ if submit_button:
26
  },
27
  }, use_container_width=True, height=250)
28
  else:
29
- out = f"Top predicted labels are {', '.join(p for p in pred['labels'][0:2])}"
30
 
31
  st.success(out)
32
 
26
  },
27
  }, use_container_width=True, height=250)
28
  else:
29
+ out = f"Top predicted label is {pred['labels'][0]}"
30
 
31
  st.success(out)
32