Spaces:
Running
Running
File size: 577 Bytes
f99ad65 d17e7ef f99ad65 d17e7ef f99ad65 d17e7ef |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#
# SPDX-FileCopyrightText: Hadad <[email protected]>
# SPDX-License-Identifier: Apache-2.0
#
from src.main.gradio import launch_ui # Import the function responsible for starting the graphical user interface
# The following condition checks if this script is being run as the main program.
# If true, it calls the launch_ui function to start the user interface.
# This ensures that the UI only launches when this file is executed directly, not when imported as a module.
if __name__ == "__main__":
launch_ui() # Start the graphical user interface for the application
|