TiberiuCristianLeon commited on
Commit
d067fbe
·
verified ·
1 Parent(s): 014752e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -68,7 +68,8 @@ with gr.Blocks() as interface:
68
  used_libraries = gr.CheckboxGroup(choices=libraries, value=libraries, label="Detection libraries", show_select_all=True)
69
  dataframe = gr.Dataframe(
70
  headers=["Language code", "Score"],
71
- datatype=["str", "float"], # type: array
 
72
  row_count=len(libraries),
73
  column_count=2,
74
  column_limits=(2, 3),
 
68
  used_libraries = gr.CheckboxGroup(choices=libraries, value=libraries, label="Detection libraries", show_select_all=True)
69
  dataframe = gr.Dataframe(
70
  headers=["Language code", "Score"],
71
+ datatype=["str", "number"],
72
+ type='array',
73
  row_count=len(libraries),
74
  column_count=2,
75
  column_limits=(2, 3),