ksatzke commited on
Commit
bfc8e91
·
verified ·
1 Parent(s): 64c2688

Update compute_model_property.py

Browse files
Files changed (1) hide show
  1. compute_model_property.py +2 -2
compute_model_property.py CHANGED
@@ -77,8 +77,8 @@ app.add_middleware(
77
  def api_home():
78
  return {'detail': 'Welcome to Bastions Model evaluation!'}
79
 
80
- @app.post("/api/evaluate/{name}", name: str = Path(..., example="I can't believe is that easy!"), summary = "Input dataset and model identifiers", tags = ["Test API"])
81
- def return_output(name): #model_checkpoint, dataset_name
82
  """
83
  Some descriptive doc-string
84
  """
 
77
  def api_home():
78
  return {'detail': 'Welcome to Bastions Model evaluation!'}
79
 
80
+ @app.post("/api/evaluate/{name}", summary = "Input dataset and model identifiers", tags = ["Test API"])
81
+ def return_output(name):
82
  """
83
  Some descriptive doc-string
84
  """