Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -32,14 +32,14 @@ def main():
|
|
32 |
|
33 |
# Dropdown for selecting a model
|
34 |
st.sidebar.write("### Instructions:")
|
35 |
-
st.sidebar.write("
|
36 |
model_options = data_df["model"].unique().tolist() # Get model options
|
37 |
selected_model = st.sidebar.selectbox(
|
38 |
"Scored Models", model_options, help="Start typing to search for a model"
|
39 |
) # Searchable dropdown
|
40 |
|
41 |
# Add step 2 instructions and move the Download button
|
42 |
-
st.sidebar.write("
|
43 |
|
44 |
# Filter the data for the selected model
|
45 |
model_data = data_df[data_df["model"] == selected_model].iloc[0]
|
@@ -81,7 +81,7 @@ def main():
|
|
81 |
)
|
82 |
|
83 |
# Step 3 instructions
|
84 |
-
st.sidebar.write("
|
85 |
|
86 |
def create_label(background_image, model_data):
|
87 |
"""
|
|
|
32 |
|
33 |
# Dropdown for selecting a model
|
34 |
st.sidebar.write("### Instructions:")
|
35 |
+
st.sidebar.write("#### 1. Select a model below")
|
36 |
model_options = data_df["model"].unique().tolist() # Get model options
|
37 |
selected_model = st.sidebar.selectbox(
|
38 |
"Scored Models", model_options, help="Start typing to search for a model"
|
39 |
) # Searchable dropdown
|
40 |
|
41 |
# Add step 2 instructions and move the Download button
|
42 |
+
st.sidebar.write("#### 2. Download the label")
|
43 |
|
44 |
# Filter the data for the selected model
|
45 |
model_data = data_df[data_df["model"] == selected_model].iloc[0]
|
|
|
81 |
)
|
82 |
|
83 |
# Step 3 instructions
|
84 |
+
st.sidebar.write("#### 3. Share your label in technical reports, announcements, etc.")
|
85 |
|
86 |
def create_label(background_image, model_data):
|
87 |
"""
|