Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,12 @@ model = models[model_name]
|
|
46 |
file = st.file_uploader("Upload an image", type=["png", "jpg", "jpeg"])
|
47 |
# file ='hmnist_28_28_RGB.csv'
|
48 |
|
|
|
49 |
|
|
|
|
|
|
|
|
|
50 |
|
51 |
# uploaded_file = st.file_uploader("Choose a image file", type="jpg")
|
52 |
|
|
|
46 |
file = st.file_uploader("Upload an image", type=["png", "jpg", "jpeg"])
|
47 |
# file ='hmnist_28_28_RGB.csv'
|
48 |
|
49 |
+
print(file)
|
50 |
|
51 |
+
true_file=pd.read_csv("HAM10000_metadata.csv")
|
52 |
+
true_label= true_file["image_id"]
|
53 |
+
|
54 |
+
# true_file.apply(lambda x: x["image_id"] ==file)
|
55 |
|
56 |
# uploaded_file = st.file_uploader("Choose a image file", type="jpg")
|
57 |
|