Spaces:
Running
Running
Commit
Β·
b4db5b8
1
Parent(s):
3682138
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
|
|
3 |
from tf_coder.value_search import colab_interface, value_search_settings
|
4 |
import io
|
5 |
from contextlib import redirect_stdout
|
6 |
-
st.set_page_config(page_icon='π©βπ»', layout="wide"
|
7 |
|
8 |
inputs = st.text_area('The input tensor(s) specified as key-value pairs', placeholder="{'rows': [10, 20, 30],'cols': [1,2,3,4]}")
|
9 |
st.sidebar.header("Settings:")
|
@@ -24,10 +24,8 @@ with io.StringIO() as buf, redirect_stdout(buf):
|
|
24 |
[21, 22, 23, 24],
|
25 |
[31, 32, 33, 34]]
|
26 |
|
27 |
-
# A list of relevant scalar constants (if any).
|
28 |
constants = []
|
29 |
|
30 |
-
# An English description of the tensor manipulation.
|
31 |
description = 'add two vectors with broadcasting to get a matrix'
|
32 |
inputs = {'rows': [10, 20, 30],'cols': [1,2,3,4]}
|
33 |
results = colab_interface.run_value_search_from_colab(inputs, output, constants, description, settings)
|
|
|
3 |
from tf_coder.value_search import colab_interface, value_search_settings
|
4 |
import io
|
5 |
from contextlib import redirect_stdout
|
6 |
+
st.set_page_config(page_icon='π©βπ»', layout="wide")
|
7 |
|
8 |
inputs = st.text_area('The input tensor(s) specified as key-value pairs', placeholder="{'rows': [10, 20, 30],'cols': [1,2,3,4]}")
|
9 |
st.sidebar.header("Settings:")
|
|
|
24 |
[21, 22, 23, 24],
|
25 |
[31, 32, 33, 34]]
|
26 |
|
|
|
27 |
constants = []
|
28 |
|
|
|
29 |
description = 'add two vectors with broadcasting to get a matrix'
|
30 |
inputs = {'rows': [10, 20, 30],'cols': [1,2,3,4]}
|
31 |
results = colab_interface.run_value_search_from_colab(inputs, output, constants, description, settings)
|