Spaces:
Running
Running
Commit
·
36e2010
1
Parent(s):
8e651c3
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from contextlib import redirect_stdout
|
|
8 |
inputs = st.text_area('The input tensor(s) specified as key-value pairs', placeholder='''
|
9 |
'rows': [10, 20, 30],
|
10 |
'cols': [1,2,3,4],
|
11 |
-
'''
|
12 |
# The single desired output tensor.
|
13 |
|
14 |
settings = value_search_settings.from_dict({
|
@@ -19,8 +19,6 @@ settings = value_search_settings.from_dict({
|
|
19 |
'require_one_input_used': False,
|
20 |
})
|
21 |
|
22 |
-
i = st.text_area("input tensor","second test")
|
23 |
-
|
24 |
with io.StringIO() as buf, redirect_stdout(buf):
|
25 |
output = [[11, 12, 13, 14],
|
26 |
[21, 22, 23, 24],
|
|
|
8 |
inputs = st.text_area('The input tensor(s) specified as key-value pairs', placeholder='''
|
9 |
'rows': [10, 20, 30],
|
10 |
'cols': [1,2,3,4],
|
11 |
+
''')
|
12 |
# The single desired output tensor.
|
13 |
|
14 |
settings = value_search_settings.from_dict({
|
|
|
19 |
'require_one_input_used': False,
|
20 |
})
|
21 |
|
|
|
|
|
22 |
with io.StringIO() as buf, redirect_stdout(buf):
|
23 |
output = [[11, 12, 13, 14],
|
24 |
[21, 22, 23, 24],
|