Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
7eb786c
1
Parent(s):
7ff6322
Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,9 @@ def predict(file):
|
|
35 |
input_df['LI_IC'] = inter_conf[:, 0]
|
36 |
input_df['LS_IC'] = inter_conf[:, 1]
|
37 |
|
|
|
|
|
|
|
38 |
# Save the output DataFrame as an XLS file
|
39 |
output_file = 'avaliacao_massa.xlsx'
|
40 |
input_df.to_excel(output_file, index=False)
|
|
|
35 |
input_df['LI_IC'] = inter_conf[:, 0]
|
36 |
input_df['LS_IC'] = inter_conf[:, 1]
|
37 |
|
38 |
+
input_df[['AREA', 'TEST']] = np.exp(input_df[['AREA', 'TEST']])
|
39 |
+
input_df['RB'] = 1/input_df['RB']
|
40 |
+
|
41 |
# Save the output DataFrame as an XLS file
|
42 |
output_file = 'avaliacao_massa.xlsx'
|
43 |
input_df.to_excel(output_file, index=False)
|