Spaces:
Runtime error
Runtime error
Commit
Β·
5201e45
1
Parent(s):
77d1797
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,10 +6,13 @@ from contextlib import redirect_stdout
|
|
| 6 |
from streamlit_ace import st_ace
|
| 7 |
st.set_page_config(page_icon='π©βπ»', layout="wide")
|
| 8 |
|
| 9 |
-
st.
|
| 10 |
-
|
| 11 |
-
st.write('###
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
| 13 |
i = eval(inputs)
|
| 14 |
st.sidebar.header("Settings:")
|
| 15 |
settings_kwargs = dict()
|
|
|
|
| 6 |
from streamlit_ace import st_ace
|
| 7 |
st.set_page_config(page_icon='π©βπ»', layout="wide")
|
| 8 |
|
| 9 |
+
col1, col2 = st.columns([1, 1])
|
| 10 |
+
with col1:
|
| 11 |
+
st.write('### Inputs')
|
| 12 |
+
inputs = st_ace(placeholder="The input tensor(s) specified as a dictionary", value="{'rows': [10, 20, 30],\n'cols': [1,2,3,4]}", language="python", theme="solarized_dark")
|
| 13 |
+
with col2:
|
| 14 |
+
st.write('### Output')
|
| 15 |
+
output = st_ace(placeholder="The output tensor", value="[[11, 12, 13, 14],\n[21, 22, 23, 24],\n[31, 32, 33, 34]]", language="python", theme="solarized_dark")
|
| 16 |
i = eval(inputs)
|
| 17 |
st.sidebar.header("Settings:")
|
| 18 |
settings_kwargs = dict()
|