Youssouf Traore commited on
Commit
25efaa7
·
1 Parent(s): 64a432f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -32,8 +32,7 @@ def display_table(data):
32
  return table_html
33
 
34
  # Ajouter la fonction display_table à l'interface Gradio
35
- iface.outs[0].type = "python"
36
- iface.outs[0].update(display_table)
37
 
38
  # Lancement de l'interface
39
  iface.launch()
 
32
  return table_html
33
 
34
  # Ajouter la fonction display_table à l'interface Gradio
35
+ iface.display(outputs=[display_table])
 
36
 
37
  # Lancement de l'interface
38
  iface.launch()