Spaces:
Running
Running
Download run.py from gradio/dataframe_tab: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/spaces/gradio/dataframe_tab/resolve/main/run.py
- Command line
-
hf download hf://spaces/gradio/dataframe_tab/run.py
-
curl -L -o run.py https://huggingface.co/spaces/gradio/dataframe_tab/resolve/main/run.py
240 Bytes
| import gradio as gr | |
| with gr.Blocks() as demo: | |
| with gr.Tab(): | |
| gr.HTML("<p>hi</p>") | |
| with gr.Tab(): | |
| gr.Dataframe( | |
| value=[[i + 1] for i in range(10)], | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |