Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,8 +29,8 @@ def show_pdf(file_path):
|
|
| 29 |
|
| 30 |
|
| 31 |
@st.experimental_memo
|
| 32 |
-
|
| 33 |
-
|
| 34 |
PDFbyte1 = pdf_file.read()
|
| 35 |
st.download_button(label="Download image with single base substitution profiles", key='1',
|
| 36 |
data=PDFbyte1,
|
|
|
|
| 29 |
|
| 30 |
|
| 31 |
@st.experimental_memo
|
| 32 |
+
def dl(file_vcf):
|
| 33 |
+
with open("output/SBS96/Suggested_Solution/COSMIC_SBS96_Decomposed_Solution/SBS96_Decomposition_Plots.pdf", "rb") as pdf_file:
|
| 34 |
PDFbyte1 = pdf_file.read()
|
| 35 |
st.download_button(label="Download image with single base substitution profiles", key='1',
|
| 36 |
data=PDFbyte1,
|