einanao commited on
Commit
561ab5b
1 Parent(s): 8a358d3

add speedup error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -301,7 +301,7 @@ with st.form("my_form"):
301
  st.video(url)
302
  strike(url, speedup_factor, min_speedup, max_speedup, max_num_segments)
303
  else:
304
- st.write("speedup must be between min and max")
305
 
306
  st.markdown(
307
  """
 
301
  st.video(url)
302
  strike(url, speedup_factor, min_speedup, max_speedup, max_num_segments)
303
  else:
304
+ st.error("speedup must be between min and max")
305
 
306
  st.markdown(
307
  """