Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,7 @@ import pandas as pd
|
|
| 24 |
|
| 25 |
def process_excel(file):
|
| 26 |
df = pd.read_excel(file.name, engine='openpyxl')
|
|
|
|
| 27 |
return df
|
| 28 |
iface = gr.Interface(fn=process_excel, inputs="file", outputs=gr.outputs.HTML(), title="Excel Processor")
|
| 29 |
iface.launch()
|
|
|
|
| 24 |
|
| 25 |
def process_excel(file):
|
| 26 |
df = pd.read_excel(file.name, engine='openpyxl')
|
| 27 |
+
df = pd.DataFrame(df)
|
| 28 |
return df
|
| 29 |
iface = gr.Interface(fn=process_excel, inputs="file", outputs=gr.outputs.HTML(), title="Excel Processor")
|
| 30 |
iface.launch()
|