fix it - import tkinter as tk					 
from tkinter import ttk 


root = tk.Tk() 
root.title("Tab Widget") 
tabControl = ttk.Notebook(root) 

tab1 = ttk.Frame(tabControl) 
tab2 = ttk.Frame(tabControl) 

tabControl.add(tab1, text ='Tab 1') 
tabControl.add(tab2, text ='Tab 2') 
tabControl.pack(expand = 1, fill ="both") 

ttk.Label(tab1, 
		text ="Welcome to \
		ёGeeksForGeeks").grid(column = 0, 
							row = 0, 
							padx = 30, 
							pady = 30) 
ttk.Label(tab2, 
		
                OUTPUT_PATH = Path(__file__).parent
                ASSETS_PATH = OUTPUT_PATH / Path(r"C:\Users\Worker\Documents\cr\cr\build\assets\frame0")


                def relative_to_assets(path: str) -> Path:
                    return ASSETS_PATH / Path(path)


                window = Tk()

                window.geometry("1480x800")
                window.configure(bg = "#F900FF")


                canvas = Canvas(
                    window,
                    bg = "#F900FF",
                    height = 800,
                    width = 1480,
                    bd = 0,
                    highlightthickness = 0,
                    relief = "ridge"
                )

                canvas.place(x = 0, y = 0)
                canvas.create_rectangle(
                    0.0,
                    0.0,
                    1480.0,
                    800.0,
                    fill="#000000",
                    outline="")

                image_image_1 = PhotoImage(
                    file=relative_to_assets("image_1.png"))
                image_1 = canvas.create_image(
                    1162.0,
                    231.0,
                    image=image_image_1
                )

                image_image_2 = PhotoImage(
                    file=relative_to_assets("image_2.png"))
                image_2 = canvas.create_image(
                    313.0,
                    276.0,
                    image=image_image_2
                )

                image_image_3 = PhotoImage(
                    file=relative_to_assets("image_3.png"))
                image_3 = canvas.create_image(
                    283.0,
                    536.0,
                    image=image_image_3
                )

                image_image_4 = PhotoImage(
                    file=relative_to_assets("image_4.png"))
                image_4 = canvas.create_image(
                    740.0,
                    400.0,
                    image=image_image_4
                )

                image_image_5 = PhotoImage(
                    file=relative_to_assets("image_5.png"))
                image_5 = canvas.create_image(
                    739.0,
                    395.0,
                    image=image_image_5
                )

                entry_image_1 = PhotoImage(
                    file=relative_to_assets("entry_1.png"))
                entry_bg_1 = canvas.create_image(
                    738.6263961791992,
                    407.45003509521484,
                    image=entry_image_1
                )
                entry_1 = Entry(
                    bd=0,
                    bg="#FFFFFF",
                    fg="#000716",
                    highlightthickness=0
                )
                entry_1.place(
                    x=654.7406845092773,
                    y=387.3524169921875,
                    width=167.77142333984375,
                    height=38.19523620605469
                )

                entry_image_2 = PhotoImage(
                    file=relative_to_assets("entry_2.png"))
                entry_bg_2 = canvas.create_image(
                    738.9833297729492,
                    336.09761810302734,
                    image=entry_image_2
                )
                entry_2 = Entry(
                    bd=0,
                    bg="#FFFFFF",
                    fg="#000716",
                    highlightthickness=0
                )
                entry_2.place(
                    x=655.0976181030273,
                    y=316.0,
                    width=167.77142333984375,
                    height=38.19523620605469
                )

                image_image_6 = PhotoImage(
                    file=relative_to_assets("image_6.png"))
                image_6 = canvas.create_image(
                    696.0,
                    378.0,
                    image=image_image_6
                )

                image_image_7 = PhotoImage(
                    file=relative_to_assets("image_7.png"))
                image_7 = canvas.create_image(
                    688.0,
                    307.0,
                    image=image_image_7
                )

                entry_image_3 = PhotoImage(
                    file=relative_to_assets("entry_3.png"))
                entry_bg_3 = canvas.create_image(
                    738.6263961791992,
                    479.10237884521484,
                    image=entry_image_3
                )
                entry_3 = Entry(
                    bd=0,
                    bg="#FFFFFF",
                    fg="#000716",
                    highlightthickness=0
                )
                entry_3.place(
                    x=654.7406845092773,
                    y=459.0047607421875,
                    width=167.77142333984375,
                    height=38.19523620605469
                )

                image_image_8 = PhotoImage(
                    file=relative_to_assets("image_8.png"))
                image_8 = canvas.create_image(
                    684.0,
                    448.0,
                    image=image_image_8
                )

                button_image_1 = PhotoImage(
                    file=relative_to_assets("button_1.png"))
                button_1 = Button(
                    image=button_image_1,
                    borderwidth=0,
                    highlightthickness=0,
                    command=lambda: print("button_1 clicked"),
                    relief="flat"
                )
                button_1.place(
                    x=635.0,
                    y=507.0,
                    width=79.0,
                    height=49.0
                )

                image_image_9 = PhotoImage(
                    file=relative_to_assets("image_9.png"))
                image_9 = canvas.create_image(
                    738.0,
                    262.0,
                    image=image_image_9
                )

                button_image_2 = PhotoImage(
                    file=relative_to_assets("button_2.png"))
                button_2 = Button(
                    image=button_image_2,
                    borderwidth=0,
                    highlightthickness=0,
                    command=lambda: print("button_2 clicked"),
                    relief="flat"
                )
                button_2.place(
                    x=740.0,
                    y=529.0,
                    width=104.0,
                    height=27.0
                )

                image_image_10 = PhotoImage(
                    file=relative_to_assets("image_10.png"))
                image_10 = canvas.create_image(
                    740.0,
                    35.0,
                    image=image_image_10
                )
)
root.mainloop()