mpsk commited on
Commit
7ce0b9c
β€’
1 Parent(s): c870b09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,7 +39,8 @@ def init_db():
39
  """
40
  r = parse("{http_pre}://{host}:{port}", st.secrets["DB_URL"])
41
  client = get_client(
42
- host=r['host'], port=r['port'], user=st.secrets["USER"], password=st.secrets["PASSWD"]
 
43
  )
44
  meta_field = {}
45
  return meta_field, client
 
39
  """
40
  r = parse("{http_pre}://{host}:{port}", st.secrets["DB_URL"])
41
  client = get_client(
42
+ host=r['host'], port=r['port'], user=st.secrets["USER"], password=st.secrets["PASSWD"],
43
+ interface=r['http_pre'],
44
  )
45
  meta_field = {}
46
  return meta_field, client