christopher commited on
Commit
8bb6bcc
·
1 Parent(s): 7b64b2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1,7 +1,6 @@
1
  # https://github.com/google-research/tensorflow-coder/blob/master/tf_coder/tf_coder_main.py
2
  import streamlit as st
3
- from tf_coder.value_search import colab_interface
4
- from tf_coder.value_search import value_search_settings
5
  import io
6
  from contextlib import redirect_stdout
7
 
@@ -10,8 +9,8 @@ inputs = st.text_area('The input tensor(s) specified as key-value pairs', placeh
10
 
11
  st.sidebar.header("Settings:")
12
  settings_kwargs = dict()
13
- settings_kwargs["require_all_inputs_used"] = st.sidebar.checkbox("Require All")
14
- settings_kwargs["max_solutions"] = st.sidebar.slider("Maximum number of solutions", value=1, min_value=1, step=1, max_value=256)
15
 
16
  settings = value_search_settings.from_dict({
17
  'timeout': 300,
 
1
  # https://github.com/google-research/tensorflow-coder/blob/master/tf_coder/tf_coder_main.py
2
  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
 
 
9
 
10
  st.sidebar.header("Settings:")
11
  settings_kwargs = dict()
12
+ settings_kwargs["require_all_inputs_used"] = st.sidebar.checkbox("Require All Inputs", value=True)
13
+ settings_kwargs["max_solutions"] = st.sidebar.slider("Maximum number of solutions", value=1, min_value=1, step=1, max_value=10)
14
 
15
  settings = value_search_settings.from_dict({
16
  'timeout': 300,