Spaces:
Sleeping
Sleeping
File size: 910 Bytes
8773ff3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
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.markdown(
"""
## π± Domain Data Grower
This space helps you create a dataset seed for building diverse domain-specific datasets for aligning models.
"""
)
st.sidebar.subheader(f"Project Details: {PROJECT_NAME}")
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)
|