Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
gradio-tests
/
dataframe_loadv4-sse
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
freddyaboulton
HF Staff
commited on
Oct 30, 2023
Commit
d4dc97a
·
1 Parent(s):
2f24d33
Upload app.py with huggingface_hub
Browse files
Files changed (1)
hide
show
app.py
+10
-0
app.py
ADDED
Viewed
@@ -0,0 +1,10 @@
1
+
import gradio as gr
2
+
import pandas as pd
3
+
4
+
def value_func():
5
+
return pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
6
+
7
+
with gr.Blocks() as demo:
8
+
gr.DataFrame(value=value_func)
9
+
10
+
demo.launch()