Update app.py
Browse files
app.py
CHANGED
|
@@ -22,6 +22,8 @@ rob_chem_model = ClassificationModel('roberta', 'seyonec/SMILES_tokenized_PubChe
|
|
| 22 |
|
| 23 |
@app.post("/ToxicityPrediction")
|
| 24 |
async def c(query:Query):
|
|
|
|
|
|
|
| 25 |
try:
|
| 26 |
predictions, raw_outputs = rob_chem_model.predict([str(query.query)])
|
| 27 |
print(predictions)
|
|
|
|
| 22 |
|
| 23 |
@app.post("/ToxicityPrediction")
|
| 24 |
async def c(query:Query):
|
| 25 |
+
print(query)
|
| 26 |
+
print(type(query))
|
| 27 |
try:
|
| 28 |
predictions, raw_outputs = rob_chem_model.predict([str(query.query)])
|
| 29 |
print(predictions)
|