You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/use-web-app.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,10 +50,20 @@ Sample source code for the web app is available on [GitHub](https://github.com/m
50
50
> [!NOTE]
51
51
> 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.
52
52
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.
54
54
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
55
66
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:
57
67
1. If you've customized your app, update the app's source code.
58
68
1. Navigate to your web app in the [Azure portal](https://portal.azure.com/).
59
69
1. Select **Deployment center** in the navigation menu, under **Deployment**.
0 commit comments