peachfawn's picture
Update app.py
678ded6 verified
raw
history blame
288 Bytes
import gradio as gr
import pandas as pd
# Load Excel file
df = pd.read_excel("Clinical_trial_DB_with_embeddings (20).xlsx")
# Function to return data
def get_data():
return df
# Create Gradio Interface
demo = gr.Interface(fn=get_data, inputs=[], outputs="dataframe")
demo.launch()