freddyaboulton HF Staff commited on
Commit
d4c439d
·
1 Parent(s): cf1eed6

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -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()