Spaces:
Runtime error
Runtime error
jaifar530
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -311,5 +311,11 @@ with st.expander("Can I use this as evidence?"):
|
|
| 311 |
""")
|
| 312 |
|
| 313 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 314 |
|
| 315 |
|
|
|
|
| 311 |
""")
|
| 312 |
|
| 313 |
|
| 314 |
+
# Creates a button named 'Press me'
|
| 315 |
+
list_dir = st.button("list")
|
| 316 |
+
if list_dir:
|
| 317 |
+
st.write("Listing directory contents:")
|
| 318 |
+
st.write(os.listdir('.'))
|
| 319 |
+
|
| 320 |
|
| 321 |
|