BasselAhmed commited on
Commit
f367c81
·
verified ·
1 Parent(s): 62a78bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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)