Ben Burtenshaw
update examples
c23ab82
raw
history blame
1.01 kB
import streamlit as st
from defaults import (
ARGILLA_SPACE_REPO_ID,
PROJECT_NAME,
ARGILLA_URL,
DIBT_PARENT_APP_URL,
DATASET_URL,
DATASET_REPO_ID,
ARGILLA_SPACE_REPO_ID,
)
def project_sidebar():
if PROJECT_NAME == "DEFAULT_DOMAIN":
st.warning(
"Please set up the project configuration in the parent app before proceeding."
)
st.stop()
st.sidebar.subheader(f"A Data Growing Project in the domain of {PROJECT_NAME}")
st.sidebar.markdown(
"""
This space helps you create a dataset seed for building diverse domain-specific datasets for aligning models.
"""
)
st.sidebar.link_button(f"πŸ“š Dataset Repo", DATASET_URL)
st.sidebar.link_button(f"πŸ€– Argilla Space", ARGILLA_URL)
st.sidebar.divider()
st.sidebar.link_button("πŸ§‘β€πŸŒΎ New Project", DIBT_PARENT_APP_URL)
st.sidebar.link_button(
"πŸ€— Get your Hub Token", "https://huggingface.co/settings/tokens"
)