Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ image_choice_map = {
|
|
74 |
'2': 'commoncrawl_canyonhillschroniclecomtagwomens-basketbll_0.png',
|
75 |
'3': 'commoncrawl_celstuttgartdeideaa-different-stort-of-nfe_0.png'
|
76 |
}
|
77 |
-
image = Image.open(image_choice_map[image_choice])
|
78 |
with col1:
|
79 |
st.image(image, caption='Your target sample')
|
80 |
|
|
|
74 |
'2': 'commoncrawl_canyonhillschroniclecomtagwomens-basketbll_0.png',
|
75 |
'3': 'commoncrawl_celstuttgartdeideaa-different-stort-of-nfe_0.png'
|
76 |
}
|
77 |
+
image = Image.open(f'samples/{image_choice_map[image_choice]}')
|
78 |
with col1:
|
79 |
st.image(image, caption='Your target sample')
|
80 |
|