Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -20,7 +20,7 @@ new_list = load_data('country.csv')
|
|
20 |
|
21 |
@app.get("/getdata")
|
22 |
def getData():
|
23 |
-
return {"data": new_list}
|
24 |
|
25 |
app.mount('/',StaticFiles(directory="static",html=True),name="static")
|
26 |
|
|
|
20 |
|
21 |
@app.get("/getdata")
|
22 |
def getData():
|
23 |
+
return {"data": new_list}
|
24 |
|
25 |
app.mount('/',StaticFiles(directory="static",html=True),name="static")
|
26 |
|