Spaces:
Runtime error
Runtime error
show loading
Browse files
app.py
CHANGED
|
@@ -91,4 +91,8 @@ def decode(ratio, txt_1, txt_2):
|
|
| 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 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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)
|
| 97 |
+
container.empty()
|
| 98 |
+
st.write(out)
|