Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def c(query:Query)->PredictionResponse:
|
|
| 36 |
print(type(query))
|
| 37 |
query_dict = query.dict()
|
| 38 |
try:
|
| 39 |
-
predictions, raw_outputs = rob_chem_model.predict(
|
| 40 |
print(predictions)
|
| 41 |
print(type({"predictions": predictions}))
|
| 42 |
#json_compatible_item_data = jsonable_encoder(predictions[0])
|
|
|
|
| 36 |
print(type(query))
|
| 37 |
query_dict = query.dict()
|
| 38 |
try:
|
| 39 |
+
predictions, raw_outputs = rob_chem_model.predict(query.smiles)
|
| 40 |
print(predictions)
|
| 41 |
print(type({"predictions": predictions}))
|
| 42 |
#json_compatible_item_data = jsonable_encoder(predictions[0])
|