Skip to content
This repository was archived by the owner on Oct 14, 2023. It is now read-only.

Commit 3599cca

Browse files
authored
Added note on dependencies
1 parent faee653 commit 3599cca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

v2functions/http-trigger-onnx-model/readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ onnxruntime==1.1.0
2525
numpy==1.18.1
2626
```
2727

28+
Make sure you have these in your `requirements.txt` at the root of your function app.
29+
2830
## Configuration
2931
As specified in `functions.json`, this function is triggered by an HTTP request. It expects a POST request with raw image bytes (JPEG/PNG/whatever the Pillow library can open). Output is an HTTP response with the resulting style transferred image (JPEG encoded).
3032

@@ -90,4 +92,4 @@ az webapp config appsettings set \
9092
[1]: https://httpie.org/
9193
[2]: https://iterm2.com/documentation-images.html
9294
[3]: https://github.com/onnx/models/tree/master/vision/style_transfer/fast_neural_style
93-
[4]: https://github.com/pytorch/examples/tree/master/fast_neural_style#models
95+
[4]: https://github.com/pytorch/examples/tree/master/fast_neural_style#models

0 commit comments

Comments
 (0)