Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -224,12 +224,12 @@ def main():
|
|
224 |
with open(file, 'r') as f:
|
225 |
file_contents = f.read()
|
226 |
next_action='search'
|
227 |
-
with
|
228 |
if st.button("π", key="open_"+file): # open emoji button
|
229 |
with open(file, 'r') as f:
|
230 |
file_contents = f.read()
|
231 |
next_action='open'
|
232 |
-
with
|
233 |
if st.button("π", key="delete_"+file):
|
234 |
os.remove(file)
|
235 |
st.experimental_rerun()
|
|
|
224 |
with open(file, 'r') as f:
|
225 |
file_contents = f.read()
|
226 |
next_action='search'
|
227 |
+
with col3:
|
228 |
if st.button("π", key="open_"+file): # open emoji button
|
229 |
with open(file, 'r') as f:
|
230 |
file_contents = f.read()
|
231 |
next_action='open'
|
232 |
+
with col4:
|
233 |
if st.button("π", key="delete_"+file):
|
234 |
os.remove(file)
|
235 |
st.experimental_rerun()
|