Download run.py from gradio/plot_guide_tables_stats_main: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/spaces/gradio/plot_guide_tables_stats_main/resolve/main/run.py
- Command line
-
hf download hf://spaces/gradio/plot_guide_tables_stats_main/run.py
-
curl -L -o run.py https://huggingface.co/spaces/gradio/plot_guide_tables_stats_main/resolve/main/run.py
288 Bytes
| import gradio as gr | |
| from data import df # type: ignore | |
| with gr.Blocks() as demo: | |
| with gr.Row(): | |
| gr.Label(len(df), label="Flight Count") | |
| gr.Label(f"${df['price'].min()}", label="Cheapest Flight") | |
| gr.DataFrame(df) | |
| if __name__ == "__main__": | |
| demo.launch() |