kaicheng's picture
Update app.py
935ee21
raw
history blame
318 Bytes
import gradio as gr
import pandas as pd
def process_excel(file):
df = pd.read_excel(file.name, engine='openpyxl')
return df,type(df)
iface = gr.Interface(fn=process_excel, inputs=gr.File(type='file',label='excle'), outputs=[gr.outputs.Dataframe(type='pandas'),"text"], title="Excel Processor")
iface.launch()