Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ def create_excel(doc):
|
|
| 47 |
idx_col = idx_col + 1
|
| 48 |
# SHOW THE RECOVERED DATA
|
| 49 |
df_table = pd.DataFrame.from_dict(data)
|
| 50 |
-
return (
|
| 51 |
|
| 52 |
def upload_file(filepath):
|
| 53 |
name = Path(filepath).name
|
|
|
|
| 47 |
idx_col = idx_col + 1
|
| 48 |
# SHOW THE RECOVERED DATA
|
| 49 |
df_table = pd.DataFrame.from_dict(data)
|
| 50 |
+
return (df_table.to_excel("tabla.xlsx", index=False))
|
| 51 |
|
| 52 |
def upload_file(filepath):
|
| 53 |
name = Path(filepath).name
|