christopher commited on
Commit
5201e45
Β·
1 Parent(s): 77d1797

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
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.write('### Inputs')
10
- 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")
11
- st.write('### Output')
12
- 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")
 
 
 
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()