Repository: NVIDIAGameWorks/kaolin-wisp
File: app/main_interactive.py (Python)

Code before:
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES.  All rights reserved.
#
# NVIDIA CORPORATION & AFFILIATES and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION & AFFILIATES is strictly prohibited.


if __name__ == "__main__":
    from cuda_guard import setup_cuda_context
    setup_cuda_context()     # Must be called before any torch operations take place

    import os
    import app_utils
    import logging as log
    from wisp.trainers import *
    from wisp.config_parser import parse_options, argparse_to_str, get_modules_from_config, \
        get_optimizer_from_config
    from wisp.framework import WispState

    # Usual boilerplate
    parser = parse_options(return_parser=True)
    parser.add_argument("--wandb_project", type=str, default=None, help="Weights & Biases Project")
    parser.add_argument("--wandb_run_name", type=str, default=None, help="Weights & Biases Run Name")
    parser.add_argument("--wandb_entity", type=str, default=None, help="Weights & Biases Entity")
    parser.add_argument(
        "--wandb_viz_nerf_angles",
        type=int,
        default=20,
        help="Number of Angles to visualize a scene on Weights & Biases. Set this to 0 to disable 360 degree visualizations."
    )
    parser.add_argument(
        "--wandb_viz_nerf_distance",
        type=int,
        default=3,
        help="Distance to visualize Scene from on Weights & Biases"
    )
    app_utils.add_log_level_flag(parser)
    app_group = parser.add_argument_group('app')
    # Add custom args if needed for app
    args, args_str = argparse_to_str(parser)

    using_wandb = args.wandb_project is not None
    if using_wandb:
        wandb.init(
            project=args.wandb_project,

Review comment (suggestion):
```suggestion
import wandb

```
(missing import)

Code after:
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES.  All rights reserved.
#
# NVIDIA CORPORATION & AFFILIATES and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION & AFFILIATES is strictly prohibited.


if __name__ == "__main__":
    from cuda_guard import setup_cuda_context
    setup_cuda_context()     # Must be called before any torch operations take place

    import os
    import app_utils
    import logging as log
    from wisp.trainers import *
    from wisp.config_parser import parse_options, argparse_to_str, get_modules_from_config, \
        get_optimizer_from_config
    from wisp.framework import WispState
import wandb

    # Usual boilerplate
    parser = parse_options(return_parser=True)
    parser.add_argument("--wandb_project", type=str, default=None, help="Weights & Biases Project")
    parser.add_argument("--wandb_run_name", type=str, default=None, help="Weights & Biases Run Name")
    parser.add_argument("--wandb_entity", type=str, default=None, help="Weights & Biases Entity")
    parser.add_argument(
        "--wandb_viz_nerf_angles",
        type=int,
        default=20,
        help="Number of Angles to visualize a scene on Weights & Biases. Set this to 0 to disable 360 degree visualizations."
    )
    parser.add_argument(
        "--wandb_viz_nerf_distance",
        type=int,
        default=3,
        help="Distance to visualize Scene from on Weights & Biases"
    )
    app_utils.add_log_level_flag(parser)
    app_group = parser.add_argument_group('app')
    # Add custom args if needed for app
    args, args_str = argparse_to_str(parser)

    using_wandb = args.wandb_project is not None
    if using_wandb:
        wandb.init(