Spaces:
Running
Running
Deploy (see actual commits on https://github.com/mlcommons/croissant).
Browse files- views/splash.py +3 -2
views/splash.py
CHANGED
@@ -36,7 +36,7 @@ def render_splash():
|
|
36 |
)
|
37 |
col1, col2 = st.columns([1, 1], gap="large")
|
38 |
with col1:
|
39 |
-
with st.expander("**Create from scratch
|
40 |
|
41 |
def create_new_croissant():
|
42 |
st.session_state[Metadata] = Metadata()
|
@@ -81,9 +81,10 @@ def render_splash():
|
|
81 |
type="primary",
|
82 |
args=(dataset,),
|
83 |
)
|
84 |
-
with st.expander("**Load a dataset from Hugging Face
|
85 |
url = st.text_input(
|
86 |
label="Hugging Face URL",
|
|
|
87 |
)
|
88 |
if url.startswith(_HUGGING_FACE_URL):
|
89 |
url = url.replace(_HUGGING_FACE_URL, "")
|
|
|
36 |
)
|
37 |
col1, col2 = st.columns([1, 1], gap="large")
|
38 |
with col1:
|
39 |
+
with st.expander("**Create from scratch!**", expanded=True):
|
40 |
|
41 |
def create_new_croissant():
|
42 |
st.session_state[Metadata] = Metadata()
|
|
|
81 |
type="primary",
|
82 |
args=(dataset,),
|
83 |
)
|
84 |
+
with st.expander("**Load a dataset from Hugging Face!**", expanded=True):
|
85 |
url = st.text_input(
|
86 |
label="Hugging Face URL",
|
87 |
+
placeholder="https://huggingface.co/datasets/mnist",
|
88 |
)
|
89 |
if url.startswith(_HUGGING_FACE_URL):
|
90 |
url = url.replace(_HUGGING_FACE_URL, "")
|