jordyvl commited on
Commit
1369229
1 Parent(s): 10e1e9c

Update local_app.py

Browse files

gradio incompatibility

Files changed (1) hide show
  1. local_app.py +1 -1
local_app.py CHANGED
@@ -42,7 +42,7 @@ df = dict()
42
  df["predictions"] = [[0.6, 0.2, 0.2], [0, 0.95, 0.05], [0.7, 0.1, 0.2]]
43
  df["references"] = [0, 1, 2]
44
 
45
- component = gr.inputs.Dataframe(
46
  headers=["predictions", "references"], col_count=2, datatype="number", type="pandas"
47
  )
48
 
 
42
  df["predictions"] = [[0.6, 0.2, 0.2], [0, 0.95, 0.05], [0.7, 0.1, 0.2]]
43
  df["references"] = [0, 1, 2]
44
 
45
+ component = gr.Dataframe(
46
  headers=["predictions", "references"], col_count=2, datatype="number", type="pandas"
47
  )
48