Towhidul commited on
Commit
208f0e7
1 Parent(s): 45a9ec0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -115,8 +115,8 @@ if file is not None:
115
 
116
  if file:
117
  name = file.name.split(".")[0]
118
- if name in df['image_id'].values:
119
- st.write("True Label: ", df.loc[df['image_id']==name, 'dx'].iloc[0])
120
  else:
121
  st.write("No match")
122
 
 
115
 
116
  if file:
117
  name = file.name.split(".")[0]
118
+ if name in true_file['image_id'].values:
119
+ st.write("True Label: ", true_file.loc[true_file['image_id']==name, 'dx'].iloc[0])
120
  else:
121
  st.write("No match")
122