Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,8 @@ def init_db():
|
|
65 |
meta = []
|
66 |
r = parse("{http_pre}://{host}:{port}", st.secrets["DB_URL"])
|
67 |
client = get_client(
|
68 |
-
host=r['host'], port=r['port'], user=st.secrets["USER"], password=st.secrets["PASSWD"]
|
|
|
69 |
)
|
70 |
return meta, client
|
71 |
|
|
|
65 |
meta = []
|
66 |
r = parse("{http_pre}://{host}:{port}", st.secrets["DB_URL"])
|
67 |
client = get_client(
|
68 |
+
host=r['host'], port=r['port'], user=st.secrets["USER"], password=st.secrets["PASSWD"],
|
69 |
+
interface=r['http_pre'],
|
70 |
)
|
71 |
return meta, client
|
72 |
|