File size: 186 Bytes
0eb8d80
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import gradio as gr
import pandas as pd
import plotly.express as px

df = pd.DataFrame({"data": [5, 1, 3, 4]})

with gr.Blocks() as demo:
    gr.Plot(value=px.bar(df))
    
demo.launch()