Youssouf Traore commited on
Commit
c88d6f0
·
1 Parent(s): 06d7fc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def display_table(data):
23
  # Interface Gradio avec une liste déroulante
24
  iface = gr.Interface(fn=get_covid_data,
25
  inputs="text",
26
- outputs=gr.outputs.HTML(html_type="table"),
27
  title="COVID-19 Data by Country",
28
  description="Enter the name of a country to get COVID-19 data.",
29
  example="France")
 
23
  # Interface Gradio avec une liste déroulante
24
  iface = gr.Interface(fn=get_covid_data,
25
  inputs="text",
26
+ outputs=gr.outputs.Table(header=["Confirmed Cases", "Active Cases", "Deaths", "Recovered Cases"]),
27
  title="COVID-19 Data by Country",
28
  description="Enter the name of a country to get COVID-19 data.",
29
  example="France")