<s>[INST] import tkinter as tk
from tkinter import ttk
from PIL import Image, ImageTk

class Application(tk.Tk):
    def __init__(self):
        super().__init__()
        self.geometry('800x600')
        self.title('Sample GUI')
        self.label = tk.Label(self, text='Test Text Here...')
        self.label.pack()
        self.image = Image.open("C:\\Users\\user\\Desktop\\images\\image1.jpg")
        self.image.thumbnail((300, 300)) # Resize the image to fit inside the GUI
        self.image_tk = ImageTk.PhotoImage(self.image)
        self.image_label = tk.Label(self, image=self.image_tk)
        self.image_label.pack()

# create the application
app = Application()
app.mainloop()

This code is running fine but the image is not showing in the label. The image is not being displayed on the GUI window. What is the reason for this and how to solve this?[/INST]