Spaces:
Runtime error
Runtime error
initial test
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ if len(uploaded_files) > 0:
|
|
75 |
elif uploaded_file.name == 'FlipFold4_accum.xlsx':
|
76 |
flipfold_accum = pd.read_excel(uploaded_file, skiprows=8, nrows=11, usecols="A:D")
|
77 |
flipfold_accum2 = pd.read_excel(uploaded_file, skiprows=24, nrows=5, usecols="A:N")
|
78 |
-
st.write('flipfold_accum2: ' + str(flipfold_accum2.shape))
|
79 |
|
80 |
elif uploaded_file.name == 'FlipFold4_analysis.xlsx':
|
81 |
flipfold = pd.read_excel(uploaded_file, skiprows=9)
|
@@ -268,7 +268,7 @@ if len(uploaded_files) > 0:
|
|
268 |
|
269 |
context2 = {**context, **flip4_dict, **fold4_dict}
|
270 |
doc.render(context2)
|
271 |
-
results = doc.save()
|
272 |
|
273 |
st.download_button(
|
274 |
label="Download report here",
|
|
|
75 |
elif uploaded_file.name == 'FlipFold4_accum.xlsx':
|
76 |
flipfold_accum = pd.read_excel(uploaded_file, skiprows=8, nrows=11, usecols="A:D")
|
77 |
flipfold_accum2 = pd.read_excel(uploaded_file, skiprows=24, nrows=5, usecols="A:N")
|
78 |
+
#st.write('flipfold_accum2: ' + str(flipfold_accum2.shape))
|
79 |
|
80 |
elif uploaded_file.name == 'FlipFold4_analysis.xlsx':
|
81 |
flipfold = pd.read_excel(uploaded_file, skiprows=9)
|
|
|
268 |
|
269 |
context2 = {**context, **flip4_dict, **fold4_dict}
|
270 |
doc.render(context2)
|
271 |
+
results = doc.save("SEAO Fold 4_Flip 4 Quality Monitoring (" + datetime.datetime.now().strftime("%#d %b") + ").docx")
|
272 |
|
273 |
st.download_button(
|
274 |
label="Download report here",
|