Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|
| 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':
|