Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ db_params = {
|
|
14 |
'password': '5omRLogf9Kdas3zoBFPCT9yrCGU4IbEX',
|
15 |
}
|
16 |
|
17 |
-
@app.get("/")
|
18 |
-
|
19 |
dbQuery = "select * from profilematch"
|
20 |
conn = psycopg2.connect(**db_params)
|
21 |
df = pd.read_sql_query(dbQuery, conn)
|
|
|
14 |
'password': '5omRLogf9Kdas3zoBFPCT9yrCGU4IbEX',
|
15 |
}
|
16 |
|
17 |
+
@app.get("/ProfileMatch")
|
18 |
+
def ProfileMatchResults():
|
19 |
dbQuery = "select * from profilematch"
|
20 |
conn = psycopg2.connect(**db_params)
|
21 |
df = pd.read_sql_query(dbQuery, conn)
|