extract repo url

main
Gustav von Zitzewitz 1 year ago
parent ce31b3e72e
commit 2e68447d3e

@ -10,6 +10,7 @@ from constants import (
OPENAI_HELP,
PAGE_ICON,
USAGE_HELP,
REPO_URL,
)
from utils import (
authenticate,
@ -81,7 +82,7 @@ with st.sidebar:
if submitted:
authenticate(openai_api_key, activeloop_token, activeloop_org_name)
st.info("Learn how it works [here](https://github.com/gustavz/DataChad)")
st.info("Learn how it works [here]({REPO_URL})")
if not st.session_state["auth_ok"]:
st.stop()

@ -7,10 +7,12 @@ PAGE_ICON = "🤖"
DATA_PATH = Path.cwd() / "data"
DEFAULT_DATA_SOURCE = "git@github.com:gustavz/DataChad.git"
AUTHENTICATION_HELP = """
REPO_URL = "https://github.com/gustavz/DataChad"
AUTHENTICATION_HELP = f"""
Your credentials are only stored in your session state.\n
The keys are neither exposed nor made visible or stored permanently in any way.\n
Feel free to check out [the code base](https://github.com/gustavz/DataChad) to validate how things work.
Feel free to check out [the code base]({REPO_URL}) to validate how things work.
"""
OPENAI_HELP = """

Loading…
Cancel
Save