Spaces:
Runtime error
Runtime error
File size: 254 Bytes
ee12b05 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import gradio as gr
import pandas as pd
# Load Excel file
df = pd.read_excel("data.xlsx")
# Function to return data
def get_data():
return df
# Create Gradio Interface
demo = gr.Interface(fn=get_data, inputs=[], outputs="dataframe")
demo.launch()
|