Spaces:
Build error
Build error
Update app.py
Browse files
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
|
| 119 |
-
st.write("True Label: ",
|
| 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 |
|