Spaces:
Runtime error
Runtime error
alexrods
commited on
Commit
•
b38a0df
1
Parent(s):
54a96ff
fix error in app.py
Browse files
app.py
CHANGED
@@ -78,18 +78,18 @@ with col1:
|
|
78 |
with col2:
|
79 |
ex2 = Image.open(examples[1])
|
80 |
st.image(ex2, width=200)
|
81 |
-
if st.button("Corre ejemplo
|
82 |
file_imagen = examples[1]
|
83 |
|
84 |
with col3:
|
85 |
ex3 = Image.open(examples[2])
|
86 |
st.image(ex3, width=200)
|
87 |
-
if st.button("Corre ejemplo
|
88 |
file_imagen = examples[2]
|
89 |
|
90 |
# if archivo_imagen is not None:
|
91 |
|
92 |
|
93 |
-
article = "<div style='text-align: center;'><a href='https://keras.io/examples/vision/deeplabv3_plus/' target='_blank'>Keras example by Praveen Kaushik</a></div>"
|
94 |
# gr.Interface(segmentation, i, o, examples=examples, allow_flagging=False, analytics_enabled=False,
|
95 |
# title=title, description=description, article=article).launch(enable_queue=True)
|
|
|
78 |
with col2:
|
79 |
ex2 = Image.open(examples[1])
|
80 |
st.image(ex2, width=200)
|
81 |
+
if st.button("Corre ejemplo 2"):
|
82 |
file_imagen = examples[1]
|
83 |
|
84 |
with col3:
|
85 |
ex3 = Image.open(examples[2])
|
86 |
st.image(ex3, width=200)
|
87 |
+
if st.button("Corre ejemplo 3"):
|
88 |
file_imagen = examples[2]
|
89 |
|
90 |
# if archivo_imagen is not None:
|
91 |
|
92 |
|
93 |
+
# article = "<div style='text-align: center;'><a href='https://keras.io/examples/vision/deeplabv3_plus/' target='_blank'>Keras example by Praveen Kaushik</a></div>"
|
94 |
# gr.Interface(segmentation, i, o, examples=examples, allow_flagging=False, analytics_enabled=False,
|
95 |
# title=title, description=description, article=article).launch(enable_queue=True)
|