Spaces:
Runtime error
Runtime error
Commit Β·
fc108b8
1
Parent(s): e71d3b2
Update app.py
Browse files5 unmodified lines6789101112136 unmodified lines202122232425265 unmodified linesfrom streamlit_ace import st_acest.set_page_config(page_icon='π©βπ»', layout="wide", initial_sidebar_state="collapsed")st.write("# [TensorFlow Coder](https://github.com/google-research/tensorflow-coder)")st.write("TensorFlow Coder is a program synthesis tool developed at Google Research by Kensen Shi, David Bieber and Rishabh Singh. It takes an example input-output tensor example and attempts to find the combination of TensorFlow ops that capture that transformation. Please cite the authors' [paper](https://github.com/google-research/tensorflow-coder/blob/master/README.md#citation) if you use their tool in your work. This demo is a work in progress.")col1, col2, col3 = st.columns([5, 5, 3])with col1:6 unmodified linesst.write('#### Constants')constants = st_ace(placeholder="Optional list of scalar constants", value="[]", language="python", theme="solarized_dark", auto_update=True)st.write("#### Description")description = st.text_input(label="", placeholder="An optional natural language description of the operation", value="add two vectors with broadcasting to get a matrix")with st.expander("βοΈ Search Options", expanded=False):settings_kwargs = dict()5 unmodified lines6789101112136 unmodified lines202122232425265 unmodified linesfrom streamlit_ace import st_acest.set_page_config(page_icon='π©βπ»', layout="wide", initial_sidebar_state="collapsed")st.write("<h2> TensorFlow Coder </h2>")st.write("[TensorFlow Coder](https://github.com/google-research/tensorflow-coder) is a program synthesis tool developed at Google Research by Kensen Shi, David Bieber and Rishabh Singh. It takes an example input-output tensor example and attempts to find the combination of TensorFlow ops that capture that transformation. Please cite the authors' [paper](https://github.com/google-research/tensorflow-coder/blob/master/README.md#citation) if you use their tool in your work. This demo is a work in progress.")col1, col2, col3 = st.columns([5, 5, 3])with col1:6 unmodified linesst.write('#### Constants')constants = st_ace(placeholder="Optional list of scalar constants", value="[]", language="python", theme="solarized_dark", auto_update=True)st.write("#### D1escription")description = st.text_input(label="", placeholder="An optional natural language description of the operation", value="add two vectors with broadcasting to get a matrix")with st.expander("βοΈ Search Options", expanded=False):settings_kwargs = dict()
app.py+3-3