Spaces:
Runtime error
Runtime error
Commit
·
8be4fd7
1
Parent(s):
ca525a4
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ with col2:
|
|
| 16 |
with col3:
|
| 17 |
st.write('### Constants')
|
| 18 |
constants = st_ace(placeholder="Optional list of scalar constants", value="[]", language="python", theme="solarized_dark")
|
| 19 |
-
if any(inputs, output, constants):
|
| 20 |
i = eval(inputs)
|
| 21 |
o = eval(output)
|
| 22 |
c = eval(constants)
|
|
|
|
| 16 |
with col3:
|
| 17 |
st.write('### Constants')
|
| 18 |
constants = st_ace(placeholder="Optional list of scalar constants", value="[]", language="python", theme="solarized_dark")
|
| 19 |
+
if any([inputs, output, constants]):
|
| 20 |
i = eval(inputs)
|
| 21 |
o = eval(output)
|
| 22 |
c = eval(constants)
|