Spaces:
Sleeping
Sleeping
Commit
·
817f91d
1
Parent(s):
af3f7e4
Upload folder using huggingface_hub
Browse files- bar_plot_demo.py +1 -1
- line_plot_demo.py +1 -1
- requirements.txt +1 -1
bar_plot_demo.py
CHANGED
|
@@ -106,6 +106,6 @@ with gr.Blocks() as bar_plot:
|
|
| 106 |
label="Type of Bar Plot"
|
| 107 |
)
|
| 108 |
with gr.Column():
|
| 109 |
-
plot = gr.BarPlot(show_label=False)
|
| 110 |
display.change(bar_plot_fn, inputs=display, outputs=plot)
|
| 111 |
bar_plot.load(fn=bar_plot_fn, inputs=display, outputs=plot)
|
|
|
|
| 106 |
label="Type of Bar Plot"
|
| 107 |
)
|
| 108 |
with gr.Column():
|
| 109 |
+
plot = gr.BarPlot(show_label=False, show_actions_button=True)
|
| 110 |
display.change(bar_plot_fn, inputs=display, outputs=plot)
|
| 111 |
bar_plot.load(fn=bar_plot_fn, inputs=display, outputs=plot)
|
line_plot_demo.py
CHANGED
|
@@ -85,7 +85,7 @@ with gr.Blocks() as line_plot:
|
|
| 85 |
value="stocks",
|
| 86 |
)
|
| 87 |
with gr.Column():
|
| 88 |
-
plot = gr.LinePlot(
|
| 89 |
dataset.change(line_plot_fn, inputs=dataset, outputs=plot)
|
| 90 |
line_plot.load(fn=line_plot_fn, inputs=dataset, outputs=plot)
|
| 91 |
|
|
|
|
| 85 |
value="stocks",
|
| 86 |
)
|
| 87 |
with gr.Column():
|
| 88 |
+
plot = gr.LinePlot()
|
| 89 |
dataset.change(line_plot_fn, inputs=dataset, outputs=plot)
|
| 90 |
line_plot.load(fn=line_plot_fn, inputs=dataset, outputs=plot)
|
| 91 |
|
requirements.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
https://gradio-builds.s3.amazonaws.com/
|
| 2 |
vega_datasets
|
|
|
|
| 1 |
+
https://gradio-builds.s3.amazonaws.com/21c7225bda057117a9d3311854323520218720b5/gradio-3.44.4-py3-none-any.whl
|
| 2 |
vega_datasets
|