Skip to content

Commit fd73d0a

Browse files
committed
updating customization steps
1 parent 80270c2 commit fd73d0a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

articles/ai-services/openai/how-to/use-web-app.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,20 @@ Sample source code for the web app is available on [GitHub](https://github.com/m
5050
> [!NOTE]
5151
> After February 1, 2024, the web app requires the app startup command to be set to `python3 -m gunicorn app:app`. When updating an app that was published prior to February 1, 2024, you need to manually add the startup command from the **App Service Configuration** page.
5252
53-
We recommend pulling changes from the `main` branch for the web app's source code frequently to ensure you have the latest bug fixes, API version, and improvements.
53+
We recommend pulling changes from the `main` branch for the web app's source code frequently to ensure you have the latest bug fixes, API version, and improvements. Additionally, the web app must be synchronized every time the API version being used is retired.
5454

55+
**If you haven't customized the app:**
56+
* You can follow the synchronization steps below
57+
58+
**If you've customized or changed the app's source code:**
59+
* You will need to update your app's source code manually and redeploy it before synchronizing the app.
60+
* If your app is hosted on GitHub, push your code changes to your repo, and use the synchronization steps below.
61+
* If you're redeploying the app manually (for example Azure CLI), follow the steps for your deployment setup.
62+
they can use the Sync button after pushing to their repo, but they may just be redeploying manually with the Azure CLI.
63+
64+
65+
### Synchronize the web app
5566

56-
Additionally, the web app must be synchronized every time the API version being used is [retired](../concepts/model-retirements.md). To synchronize the web app:
5767
1. If you've customized your app, update the app's source code.
5868
1. Navigate to your web app in the [Azure portal](https://portal.azure.com/).
5969
1. Select **Deployment center** in the navigation menu, under **Deployment**.

0 commit comments

Comments
 (0)