Skip to content

Update Flask serving command and fix typo in app.py#706

Merged
darrylong merged 4 commits into
PreferredAI:masterfrom
darrylong:docs/flask-serving-change
Jun 23, 2026
Merged

Update Flask serving command and fix typo in app.py#706
darrylong merged 4 commits into
PreferredAI:masterfrom
darrylong:docs/flask-serving-change

Conversation

@darrylong

Copy link
Copy Markdown
Member

Description

Updates the Flask serving command in the README to use Flask's newer --app flag instead of the deprecated FLASK_APP environment variable. Also fixes a typo in app.py where a single quote was missing before remove_seen=true in the log message, and removes trailing whitespace in the same string.

Related Issues

N/A

Checklist:

  • I have added tests.
  • I have updated the documentation accordingly.
  • I have updated README.md (if you are adding a new model).
  • I have updated examples/README.md (if you are adding a new example).
  • I have updated datasets/README.md (if you are adding a new dataset).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Cornac’s model-serving instructions and clarifies the serving app’s startup log output for the remove_seen query parameter.

Changes:

  • Update README serving command to use flask --app cornac.serving.app instead of FLASK_APP=....
  • Fix quoting/whitespace in the serving app’s “remove seen items” startup message.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
README.md Updates the documented Flask run command for serving a saved model.
cornac/serving/app.py Fixes a typo in the startup log message describing remove_seen=true.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
@darrylong darrylong added the docs Documentation (Readme, readthedocs) related label Jun 23, 2026
darrylong and others added 2 commits June 23, 2026 18:40
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@darrylong darrylong changed the title Update Flask serving command and fix typo in app.py Chore: Update Flask serving command and fix typo in app.py Jun 23, 2026
@darrylong darrylong changed the title Chore: Update Flask serving command and fix typo in app.py Update Flask serving command and fix typo in app.py Jun 23, 2026
@darrylong darrylong merged commit a546e0e into PreferredAI:master Jun 23, 2026
19 checks passed
@darrylong darrylong deleted the docs/flask-serving-change branch June 23, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation (Readme, readthedocs) related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants