Towhidul commited on
Commit
4bb441d
1 Parent(s): 9b01e9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -125,14 +125,15 @@ if file is not None:
125
  name = file.name.split(".")[0]
126
  if name in true_file['image_id'].values:
127
  st.write("True Label: ", classes_map[true_file.loc[true_file['image_id']==name, 'dx'].iloc[0]])
 
128
  else:
129
  st.write("No match")
130
 
131
 
132
  # st.write(file.name)
133
  # st.write("True Label",true_file[true_file.image_id==file.name]["dx"][0])
134
- st.write("Prediction",class_name[0])
135
- st.metric("Category:", class_name[1])
136
 
137
 
138
 
 
125
  name = file.name.split(".")[0]
126
  if name in true_file['image_id'].values:
127
  st.write("True Label: ", classes_map[true_file.loc[true_file['image_id']==name, 'dx'].iloc[0]])
128
+ st.write("Prediction:",class_name[1])
129
  else:
130
  st.write("No match")
131
 
132
 
133
  # st.write(file.name)
134
  # st.write("True Label",true_file[true_file.image_id==file.name]["dx"][0])
135
+ # st.write("Prediction",class_name[0])
136
+ # st.metric("Category:", class_name[1])
137
 
138
 
139