cafierom commited on
Commit
caed84b
·
verified ·
1 Parent(s): 7b522d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -256,7 +256,7 @@ returns the names, SMILES strings, molecular weights and logP values for the sim
256
  tool_choice = (None, None)
257
  else:
258
  tool_choice = (tool_choices[0].strip().lower(), None)
259
- elif len(tool_choices) == 2:
260
  if tool_choices[0].strip().lower() == 'none':
261
  tool_choice = (None, tool_choices[1].strip().lower())
262
  elif tool_choices[1].strip().lower() == 'none':
 
256
  tool_choice = (None, None)
257
  else:
258
  tool_choice = (tool_choices[0].strip().lower(), None)
259
+ elif len(tool_choices) > 1:
260
  if tool_choices[0].strip().lower() == 'none':
261
  tool_choice = (None, tool_choices[1].strip().lower())
262
  elif tool_choices[1].strip().lower() == 'none':