Fraser commited on
Commit
6565bad
·
1 Parent(s): 943ee2f

fix the ratio!

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def decode(ratio, txt_1, txt_2):
90
 
91
  in_1 = st.text_input("A line of Python code.", "x = 1")
92
  in_2 = st.text_input("Another line of Python code.", "x = 9")
93
- r = st.slider('Interpolation Ratio')
94
  container = st.empty()
95
  container.write('Loading...')
96
  out = decode(r, in_1, in_2)
 
90
 
91
  in_1 = st.text_input("A line of Python code.", "x = 1")
92
  in_2 = st.text_input("Another line of Python code.", "x = 9")
93
+ r = st.slider('Interpolation Ratio', min_value=0.0, max_value=1.0)
94
  container = st.empty()
95
  container.write('Loading...')
96
  out = decode(r, in_1, in_2)