Skip to content

Commit

Permalink
Testing Azure Function
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul committed May 16, 2024
1 parent 1b7a9d5 commit d1d1685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def tokenize_text(x):
return ' '.join(list(filter(lambda y: y.replace(' ', ''), word_tokenize(filter_thai(x)))))


@flask_app.function_name(name="GetProducts")
@flask_app.function_name(name="paulxieptest")
@flask_app.post("/predict")
def run_ai():
if request.headers['aikey'] == os.environ['AIKEY']:
Expand Down

0 comments on commit d1d1685

Please sign in to comment.