|
import pandas as pd |
|
import numpy as np |
|
import gradio as gr |
|
data = pd.read_excel("minimal_reproducer.xlsx") |
|
df=pd.DataFrame(data) |
|
|
|
with gr.Blocks() as demo: |
|
with gr.Row(): |
|
with gr.Column(scale=1): |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Row(): |
|
gr.Button(value="Filler",interactive=False) |
|
with gr.Column(scale=3, variant="compact"): |
|
example_df=gr.Dataframe(value=df,type="pandas", visible=True, interactive=False, height=4000) |
|
demo.launch(debug=True) |
|
|