Spaces:
Sleeping
Sleeping
fix filename
Browse files
app.py
CHANGED
@@ -34,6 +34,12 @@ if uploaded_file is not None:
|
|
34 |
st.write(f"The other file in the 'uploads' folder is: {file}")
|
35 |
break
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
monkeyReader = reader.MonkeyReader('monkey')
|
39 |
outline = monkeyReader.readOutline(folder_path + file)
|
|
|
34 |
st.write(f"The other file in the 'uploads' folder is: {file}")
|
35 |
break
|
36 |
|
37 |
+
st.download_button(
|
38 |
+
label="Download File",
|
39 |
+
data=file_content,
|
40 |
+
file_name=folder_path+file,
|
41 |
+
mime='text/plain'
|
42 |
+
)
|
43 |
|
44 |
monkeyReader = reader.MonkeyReader('monkey')
|
45 |
outline = monkeyReader.readOutline(folder_path + file)
|