File size: 284 Bytes
e711277
 
 
abf13b5
ddec9b5
b778b01
abf13b5
b778b01
935ee21
1
2
3
4
5
6
7
8
9
import gradio as gr
import pandas as pd

def process_excel(file):
    df = pd.read_csv(file.name, engine='openpyxl')
    return df.to_pandas()

iface = gr.Interface(fn=process_excel, inputs='file', outputs=[gr.outputs.Dataframe(type='pandas')], title="Excel Processor")
iface.launch()