Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
def fn(input=""):
|
4 |
df = pd.DataFrame(data={'x': [1, 2], 'y': [3, 4], "cos": [0.1, 0.5]})
|
@@ -10,6 +11,7 @@ iface = gr.Interface(
|
|
10 |
["dataframe", "html"],
|
11 |
title="Test dataframe and html",
|
12 |
description="Test dataframe and html",
|
|
|
13 |
# layout="vertical",
|
14 |
)
|
15 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import pandas as pd
|
3 |
|
4 |
def fn(input=""):
|
5 |
df = pd.DataFrame(data={'x': [1, 2], 'y': [3, 4], "cos": [0.1, 0.5]})
|
|
|
11 |
["dataframe", "html"],
|
12 |
title="Test dataframe and html",
|
13 |
description="Test dataframe and html",
|
14 |
+
examples=["a", "b"],
|
15 |
# layout="vertical",
|
16 |
)
|
17 |
|