Skip to content

Commit

Permalink
Fix error message regarding too many builds (#430)
Browse files Browse the repository at this point in the history
* Limit to 3 builds

* Fix error message
  • Loading branch information
Enkidu93 authored Jul 11, 2024
1 parent e6b763b commit de63abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/ServalApp/serval_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ def number_of_active_builds_for(client: str):
if st.form_submit_button("Generate translations"):
if number_of_active_builds_for(st.session_state.client_id) >= 3:
st.session_state.tried_to_submit = True
st.session_state.error = "There is already an a pending or active build associated with this client id. \
Please wait for the previous build to finish."
st.session_state.error = "There are already 3 or more pending or active builds associated with this client id. \
Please wait for a build to finish."
elif (
st.session_state.source_language != ""
and st.session_state.target_language != ""
Expand Down

0 comments on commit de63abc

Please sign in to comment.