Spaces:
Runtime error
Runtime error
better sample values
Browse files
app.py
CHANGED
@@ -88,8 +88,8 @@ def decode(ratio, txt_1, txt_2):
|
|
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 =
|
93 |
r = st.slider('Interpolation Ratio', min_value=0.0, max_value=1.0)
|
94 |
container = st.empty()
|
95 |
container.write('Loading...')
|
|
|
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 = a - 1")
|
92 |
+
in_2 = st.text_input("Another line of Python code.", "x = a + 10 * 2")
|
93 |
r = st.slider('Interpolation Ratio', min_value=0.0, max_value=1.0)
|
94 |
container = st.empty()
|
95 |
container.write('Loading...')
|