Update app.py
Browse files
app.py
CHANGED
|
@@ -226,7 +226,7 @@ def main():
|
|
| 226 |
# Move the generated files section to the sidebar
|
| 227 |
with st.sidebar:
|
| 228 |
st.header('Output_dir :')
|
| 229 |
-
files = glob.glob(os.path.join(OUTPUT_DIR,
|
| 230 |
for file in files:
|
| 231 |
if os.path.isfile(file):
|
| 232 |
with open(file, 'rb') as f:
|
|
|
|
| 226 |
# Move the generated files section to the sidebar
|
| 227 |
with st.sidebar:
|
| 228 |
st.header('Output_dir :')
|
| 229 |
+
files = glob.glob(os.path.join(OUTPUT_DIR, '*'))
|
| 230 |
for file in files:
|
| 231 |
if os.path.isfile(file):
|
| 232 |
with open(file, 'rb') as f:
|