Spaces:
Sleeping
Sleeping
Daniel Cerda Escobar
commited on
Commit
·
55018fa
1
Parent(s):
ee620ac
Update Space
Browse files
app.py
CHANGED
@@ -99,11 +99,11 @@ with col1:
|
|
99 |
with col2:
|
100 |
st.markdown('##### Preview')
|
101 |
# visualize input image
|
102 |
-
if uploaded_file is not None:
|
103 |
#image_file = convert_pdf_file(path=path)
|
104 |
-
image = Image.open(image_file)
|
105 |
-
else:
|
106 |
-
|
107 |
with st.container(border = True):
|
108 |
st.image(image, use_column_width = True)
|
109 |
|
|
|
99 |
with col2:
|
100 |
st.markdown('##### Preview')
|
101 |
# visualize input image
|
102 |
+
#if uploaded_file is not None:
|
103 |
#image_file = convert_pdf_file(path=path)
|
104 |
+
#image = Image.open(image_file)
|
105 |
+
#else:
|
106 |
+
image = sahi.utils.cv.read_image_as_pil(IMAGE_TO_URL[radio])
|
107 |
with st.container(border = True):
|
108 |
st.image(image, use_column_width = True)
|
109 |
|