molehh commited on
Commit
a7d24dc
·
1 Parent(s): 0972774

home changes

Browse files
backend/api/main.py CHANGED
@@ -15,7 +15,7 @@ def home():
15
 
16
  @app.get("/contient")
17
  def display_contients():
18
- continent = home_page.contients(df)
19
  return continent.tolist()
20
 
21
  @app.get("/countries")
 
15
 
16
  @app.get("/contient")
17
  def display_contients():
18
+ continent = home_page. contients(df)
19
  return continent.tolist()
20
 
21
  @app.get("/countries")
backend/modules/home_page.py CHANGED
@@ -9,7 +9,7 @@ def process_data():
9
  return df
10
 
11
  def contient(df):
12
- contients=df["Contient"].unique()
13
  return contients
14
 
15
  def country(df):
 
9
  return df
10
 
11
  def contient(df):
12
+ contients=df["Continent"].unique()
13
  return contients
14
 
15
  def country(df):