Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -246,7 +246,8 @@ similars_tool: queries Pubchem for similar molecules based on the smiles string
|
|
| 246 |
returns the names, SMILES strings, molecular weights and logP values for the similar molecules. \n \
|
| 247 |
'
|
| 248 |
|
| 249 |
-
res = chat_model.invoke(prompt
|
|
|
|
| 250 |
|
| 251 |
tool_choices = str(res).replace('smilars', 'similars').split('<|assistant|>')[1].split('#')[0].strip()
|
| 252 |
tool_choices = tool_choices.split(',')
|
|
|
|
| 246 |
returns the names, SMILES strings, molecular weights and logP values for the similar molecules. \n \
|
| 247 |
'
|
| 248 |
|
| 249 |
+
res = chat_model.invoke(prompt
|
| 250 |
+
print(res)
|
| 251 |
|
| 252 |
tool_choices = str(res).replace('smilars', 'similars').split('<|assistant|>')[1].split('#')[0].strip()
|
| 253 |
tool_choices = tool_choices.split(',')
|