Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ with tab4:
|
|
96 |
# Slider to adjust the number in the prompt
|
97 |
number = st.slider("Select the number of top mistakes:", min_value=1, max_value=10, value=4)
|
98 |
|
99 |
-
# Update the prompt with the chosen number
|
100 |
updated_prompt = prompt.replace("4", str(number))
|
101 |
|
102 |
# Button to send the request
|
@@ -121,7 +121,6 @@ with tab4:
|
|
121 |
# Run this script using the following command:
|
122 |
# streamlit run your_script_name.py
|
123 |
|
124 |
-
|
125 |
with tab5:
|
126 |
st.header("Unique Value Add")
|
127 |
st.write("Information and controls related to the Scrum TruEra Assistants API.")
|
|
|
96 |
# Slider to adjust the number in the prompt
|
97 |
number = st.slider("Select the number of top mistakes:", min_value=1, max_value=10, value=4)
|
98 |
|
99 |
+
# Update the prompt with the chosen number. Change the number "4" dynamically based on the slider input.
|
100 |
updated_prompt = prompt.replace("4", str(number))
|
101 |
|
102 |
# Button to send the request
|
|
|
121 |
# Run this script using the following command:
|
122 |
# streamlit run your_script_name.py
|
123 |
|
|
|
124 |
with tab5:
|
125 |
st.header("Unique Value Add")
|
126 |
st.write("Information and controls related to the Scrum TruEra Assistants API.")
|