joaogante HF staff commited on
Commit
7c04b7a
1 Parent(s): 28dd0d5

playing around with gradio

Browse files
Files changed (1) hide show
  1. app.py +3 -8
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.Interface(
39
- sales_projections,
40
- gr.Dataframe(
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()