sagawa commited on
Commit
aa9d78c
·
1 Parent(s): 5a04251

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,12 +21,12 @@ st.markdown('#### If there are no catalyst or reagent, fill the blank with a spa
21
  display_text = 'input the reaction smiles (e.g. REACTANT:CNc1nc(SC)ncc1CO.O.O=[Cr](=O)([O-])O[Cr](=O)(=O)[O-].[Na+]CATALYST: REAGENT: SOLVENT:CC(=O)O)'
22
 
23
  class CFG():
 
24
  num_return_sequences = num_beams
25
  uploaded_file = st.file_uploader("Choose a CSV file")
26
  input_data = st.text_area(display_text)
27
  model_name_or_path = 'sagawa/ZINC-t5-productpredicition'
28
  model = 't5'
29
- num_beams = st.number_input(label='num beams', min_value=1, max_value=10, value=5, step=1)
30
  seed = 42
31
 
32
 
 
21
  display_text = 'input the reaction smiles (e.g. REACTANT:CNc1nc(SC)ncc1CO.O.O=[Cr](=O)([O-])O[Cr](=O)(=O)[O-].[Na+]CATALYST: REAGENT: SOLVENT:CC(=O)O)'
22
 
23
  class CFG():
24
+ num_beams = st.number_input(label='num beams', min_value=1, max_value=10, value=5, step=1)
25
  num_return_sequences = num_beams
26
  uploaded_file = st.file_uploader("Choose a CSV file")
27
  input_data = st.text_area(display_text)
28
  model_name_or_path = 'sagawa/ZINC-t5-productpredicition'
29
  model = 't5'
 
30
  seed = 42
31
 
32