sonja-a-topf commited on
Commit
bf4f21f
·
verified ·
1 Parent(s): 97697e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -44,8 +44,8 @@ def root():
44
  @app.get("/metadata")
45
  def metadata():
46
  return {
47
- "name": "RF",
48
- "version": "1.0.0",
49
  "max_batch_size": 256,
50
  "tox_endpoints": [
51
  "NR-AR",
@@ -74,5 +74,5 @@ def predict(request: Request):
74
  predictions = predict_func(request.smiles)
75
  return {
76
  "predictions": predictions,
77
- "model_info": {"name": "RF", "version": "1.0.0"},
78
  }
 
44
  @app.get("/metadata")
45
  def metadata():
46
  return {
47
+ "name": "Tox21 Random Forest Classifier",
48
+ "version": "0.1.0",
49
  "max_batch_size": 256,
50
  "tox_endpoints": [
51
  "NR-AR",
 
74
  predictions = predict_func(request.smiles)
75
  return {
76
  "predictions": predictions,
77
+ "model_info": {"name": "Tox21 Random Forest Classifier", "version": "0.1.0"},
78
  }