Spaces:
Runtime error
Runtime error
fix the ratio!
Browse files
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)
|