playing around with gradio
Browse files
app.py
CHANGED
@@ -35,14 +35,9 @@ with demo:
|
|
35 |
with gr.TabItem("Beam Search"):
|
36 |
gr.Button("New Tiger")
|
37 |
with gr.TabItem("Benchmark Information"):
|
38 |
-
gr.
|
39 |
-
|
40 |
-
|
41 |
-
headers=["Name", "Jan Sales", "Feb Sales", "Mar Sales"],
|
42 |
-
value=[["Jon", 12, 14, 18], ["Alice", 14, 17, 2], ["Sana", 8, 9.5, 12]],
|
43 |
-
),
|
44 |
-
["dataframe", "plot", "numpy"],
|
45 |
-
description="Enter sales figures for employees to predict sales trajectory over year.",
|
46 |
)
|
47 |
|
48 |
demo.launch()
|
|
|
35 |
with gr.TabItem("Beam Search"):
|
36 |
gr.Button("New Tiger")
|
37 |
with gr.TabItem("Benchmark Information"):
|
38 |
+
gr.Dataframe(
|
39 |
+
headers=["Name", "Jan Sales", "Feb Sales", "Mar Sales"],
|
40 |
+
value=[["Jon", 12, 14, 18], ["Alice", 14, 17, 2], ["Sana", 8, 9.5, 12]],
|
|
|
|
|
|
|
|
|
|
|
41 |
)
|
42 |
|
43 |
demo.launch()
|