Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -88,8 +88,7 @@ def decode(ratio, txt_1, txt_2):
|
|
88 |
return tokenizer.decode(tkns.sequences[0], skip_special_tokens=True)
|
89 |
|
90 |
|
91 |
-
|
92 |
-
st.text_input("
|
93 |
-
st.text_input("y += 'hello'", key="in_2")
|
94 |
r = st.slider('Interpolation Ratio')
|
95 |
-
st.write(decode(r,
|
|
|
88 |
return tokenizer.decode(tkns.sequences[0], skip_special_tokens=True)
|
89 |
|
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 |
+
st.write(decode(r, in_1, in_2))
|