Skip to content

Conversation

nv-gpriest
Copy link
Contributor

Fixed issue where the Tutorial App is removed from the Onboarding project when Python Base is updated in AI Workbench.
Manually re-added Tutorial App based on configuration in .project/spec.yaml
Replaced instance of "LHS" and "RHS" because these acronyms should be spelled out. (Practice modifying content in Jupyterlab).

Permission to merge by @nv-twhitehouse .

…on from 1.0.4 to 1.0.6.

- Updated Base Environment to 'nvidia/ai-workbench/python-basic:1.0.6'
Project nvidia-ai-workbench-example-onboarding-project - Updated Pyth…
AI Workbench deleted the Tutorial application from spec.yaml. I believe the cause was an update of the Package Python base from 1.0.4 to 1.0.6.

This needs to be investigated.
* Project Spec Modified

- Created app 'Tutorial 2'

* Project Spec Modified

- Updated health_check_command in app 'Tutorial 2'
- Updated user_msg in app 'Tutorial 2'
- Updated webapp_options in app 'Tutorial 2'

* Project Spec Modified

- Updated health_check_command in app 'Tutorial 2'
- Updated webapp_options in app 'Tutorial 2'

* Project Spec Modified

- Deleted app 'Tutorial 2'

* Updating python to 1.0.6 removes the Tutorial Application. I added a new application and manually added the original settings for the Tutorial.

- Updated Base Environment to 'nvidia/ai-workbench/python-basic:1.0.6'
- This update removes the Tutorial Application
- Manually added back the'Tutorial' application using the settings from project/spec.yaml:

   apps: # use the below settings to reconstruct the Project Container Application that was removed:
            - name: Tutorial
              type: custom
              class: webapp
              start_command: |
                cd /project/code/tutorial_app && \
                export PROXY_PREFIX && \
                streamlit run streamlit_app.py --server.baseUrlPath=$PROXY_PREFIX
              health_check_command: curl -I http://localhost:8501
              stop_command: |
                pkill -f 'streamlit run streamlit_app.py'
              user_msg: ""
              logfile_path: ""
              timeout_seconds: 30
              icon_url: ""
              webapp_options:
                autolaunch: true
                port: "8501"
                proxy:
                    trim_prefix: false
                url: http://localhost:8501
- Tested and it works again. YARGGGG!

* Modified 2 files - Replaced instance of "LHS" and "RHS" because these acronyms should be spelled out.

- Modified files:
* code/tutorial_app/pages/basic_01.en_US.yaml,
* code/tutorial_app/pages/basic_02.en_US.yaml
@nv-gpriest
Copy link
Contributor Author

QA Checks:
Re-cloned the main branch of my fork into AI Workbench to visually inspect that everything works and behaves correctly.

@nv-gpriest
Copy link
Contributor Author

[adding] @rmkraus , @nv-edwli

@nv-gpriest
Copy link
Contributor Author

@nv-twhitehouse @nv-edwli @rmkraus: Would one of you, kind gentlemen, please merge this in?

@nv-edwli nv-edwli merged commit 50489a4 into NVIDIA:main Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants