Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ def dl(valforkey):
|
|
| 103 |
else:
|
| 104 |
PDFbyte2 = []
|
| 105 |
Txtbyte2 = []
|
| 106 |
-
if glob.glob("output/DBS78/Suggested_Solution/COSMIC_DBS78_Decomposed_Solution/DBS78_Decomposition_Plots.pdf")
|
| 107 |
with open("output/DBS78/Suggested_Solution/COSMIC_DBS78_Decomposed_Solution/DBS78_Decomposition_Plots.pdf", "rb") as pdf_file:
|
| 108 |
PDFbyte3 = pdf_file.read()
|
| 109 |
with open("output/DBS78/Samples.txt","rb") as txt_file:
|
|
|
|
| 103 |
else:
|
| 104 |
PDFbyte2 = []
|
| 105 |
Txtbyte2 = []
|
| 106 |
+
if glob.glob("output/DBS78/Suggested_Solution/COSMIC_DBS78_Decomposed_Solution/DBS78_Decomposition_Plots.pdf") != []:
|
| 107 |
with open("output/DBS78/Suggested_Solution/COSMIC_DBS78_Decomposed_Solution/DBS78_Decomposition_Plots.pdf", "rb") as pdf_file:
|
| 108 |
PDFbyte3 = pdf_file.read()
|
| 109 |
with open("output/DBS78/Samples.txt","rb") as txt_file:
|