DocUA's picture
Додано ліцензійні відомості до main.py та оновлено README.md, включивши розділ про ліцензію MIT.
5837356
raw
history blame contribute delete
682 Bytes
# Copyright (c) 2025 Serhii Zabolotnii
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import warnings
from dotenv import load_dotenv
from src.interface import create_interface
# Ігноруємо попередження про deprecation
warnings.filterwarnings("ignore", category=UserWarning)
# Завантаження змінних середовища
load_dotenv()
if __name__ == "__main__":
try:
demo = create_interface()
demo.launch(share=True)
except Exception as e:
print(f"Критична помилка при запуску програми: {str(e)}")