A short tutorial on building a sentiment analysis model and deploying it as a REST API with Beam
app.py
.
inference.py
Our function takes keyword arguments, as (**inputs)
.
app.py
.
Our trigger requires three things:
app.py
file:
app.py
:
app.py
file will look like this:
cd
to the directory you’re
working on.
Then, run the following: