Spaces:
Sleeping
Sleeping
add
Browse files- backend/api/main.py +2 -1
backend/api/main.py
CHANGED
|
@@ -15,7 +15,8 @@ def home():
|
|
| 15 |
|
| 16 |
@app.get("/contient")
|
| 17 |
def display_contients():
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
@app.get("/countries")
|
| 21 |
def display_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")
|
| 22 |
def display_countries():
|