Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -281,12 +281,12 @@ def calculate_equivalent(manual, manual_RH_O, manual_RH_D, requer, docs, it, pro
|
|
| 281 |
|
| 282 |
|
| 283 |
# Salva o DataFrame em um arquivo Excel
|
| 284 |
-
excel_file = '
|
| 285 |
results_df.to_excel(excel_file, index=False)
|
| 286 |
|
| 287 |
# Verifica se o arquivo j谩 existe
|
| 288 |
if os.path.exists('https://huggingface.co/spaces/DavidSB/Eqv/resolve/main/Planilha_hist贸rico_IT.xlsx'):
|
| 289 |
-
existing_df = pd.read_excel('
|
| 290 |
updated_df = pd.concat([existing_df, results_df], ignore_index=True)
|
| 291 |
if incluir == "Sim":
|
| 292 |
pdated_df.to_excel('https://huggingface.co/spaces/DavidSB/Eqv/resolve/main/Planilha_hist贸rico_IT.xlsx', index=False)
|
|
|
|
| 281 |
|
| 282 |
|
| 283 |
# Salva o DataFrame em um arquivo Excel
|
| 284 |
+
excel_file = 'Planilha_hist贸rico_IT.xlsx'
|
| 285 |
results_df.to_excel(excel_file, index=False)
|
| 286 |
|
| 287 |
# Verifica se o arquivo j谩 existe
|
| 288 |
if os.path.exists('https://huggingface.co/spaces/DavidSB/Eqv/resolve/main/Planilha_hist贸rico_IT.xlsx'):
|
| 289 |
+
existing_df = pd.read_excel('Planilha_hist贸rico_IT.xlsx')
|
| 290 |
updated_df = pd.concat([existing_df, results_df], ignore_index=True)
|
| 291 |
if incluir == "Sim":
|
| 292 |
pdated_df.to_excel('https://huggingface.co/spaces/DavidSB/Eqv/resolve/main/Planilha_hist贸rico_IT.xlsx', index=False)
|