mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-30 11:00:11 +08:00
5f25eb6836
* changes
* changes
* add changeset
* changes
* changes
* fix box changes on website
* add changeset
* changes
* changes
* Revert "changes"
This reverts commit 189b4e844a
.
* chanegs
* changes
* changes
* changes
* changes
* add changeset
* Update fancy-bats-deny.md
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
22 lines
416 B
Python
22 lines
416 B
Python
import gradio as gr
|
|
import pandas as pd
|
|
|
|
simple = pd.DataFrame(
|
|
{
|
|
"item": ["A", "B", "C", "D", "E", "F", "G", "H", "I"],
|
|
"inventory": [28, 55, 43, 91, 81, 53, 19, 87, 52],
|
|
}
|
|
)
|
|
|
|
with gr.Blocks() as demo:
|
|
gr.BarPlot(
|
|
value=simple,
|
|
x="item",
|
|
y="inventory",
|
|
title="Simple Bar Plot",
|
|
container=False,
|
|
)
|
|
|
|
if __name__ == "__main__":
|
|
demo.launch()
|