Spaces:
Sleeping
Sleeping
File size: 318 Bytes
e711277 abf13b5 ff9802c abf13b5 ff9802c 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_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() |