Adding a curl example in the model_host and adding a requirements.txt file so that the venv can be restored.
This commit is contained in:
@@ -89,6 +89,7 @@ def predict_resnet50():
|
|||||||
return response
|
return response
|
||||||
|
|
||||||
# New model updated in October 2024
|
# New model updated in October 2024
|
||||||
|
# To Test : curl -X POST --data-binary @ADT_11_0_0_Training_BollingerBand_20191129_270d.jpg http://127.0.0.1:5000/predict_resnet50_20241024_270
|
||||||
@app.route('/predict_resnet50_20241024_270', methods=['GET','POST'])
|
@app.route('/predict_resnet50_20241024_270', methods=['GET','POST'])
|
||||||
def predict_resnet50_20241024_270():
|
def predict_resnet50_20241024_270():
|
||||||
print('/predict_resnet50_20241024_270')
|
print('/predict_resnet50_20241024_270')
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user