readme: ---
  license: gpl-2.0
  ---
  Gad'sImageModels_GUI Source_code(Tkinter)
  ```
  import tkinter as tk
  import torch,cv2
  win=tk.Tk()
  
  def clear(obj):
      obj.place_forget()
  
  def make_images():
      v1_v=int(v1.get())
      v2_v=int(v2.get())
      v3_v=int(v3.get())
      v4_v=int(v4.get())
      v5_v=int(v5.get())
      model=torch.load(model_name.get())
      img=model(torch.Tensor([v1_v,v2_v,v3_v,v4_v,v5_v]))
      img=img.detach().numpy().reshape(80,80,3)
      img=cv2.resize(img,(800,800))
      cv2.imshow("imgs.jpg",img)
          
  def newimagesmakescene():
      clear(make_images_button)
      make_bu=tk.Button(text="+Make",width=95,height=2,background="#3c3c3c",font=(10),fg="#ffffff",command=make_images).place(x=20,y=500)
      global model_name
      model_name=tk.Entry(background="#3c3c3c",fg="#ffffff",)
      model_name.insert(0,"testmodel_1.bin")
      model_name.place(x=20,y=20)
      global v1
      global v2
      global v3
      global v4
      global v5
      scale_var = tk.DoubleVar()
      v1 = tk.Scale(background="#3c3c3c",orient=tk.HORIZONTAL,length = 300,width = 20,sliderlength = 15,from_ = 0,to = 30, resolution=0.5,tickinterval=5,fg="#ffffff")
      v1.place(x=20,y=50)
      
      v2 = tk.Scale(background="#3c3c3c",orient=tk.HORIZONTAL,length = 300,width = 20,sliderlength = 15,from_ = 0,to = 30, resolution=0.5,tickinterval=5,fg="#ffffff")
      v2.place(x=20,y=50*2)
      
      v3 = tk.Scale(background="#3c3c3c", orient=tk.HORIZONTAL,length = 300,width = 20,sliderlength = 15,from_ = 0,to = 30, resolution=0.5,tickinterval=5,fg="#ffffff")
      v3.place(x=20,y=50*3)
      
      v4 = tk.Scale(background="#3c3c3c",orient=tk.HORIZONTAL,length = 300,width = 20,sliderlength = 15,from_ = 0,to = 30, resolution=0.5,tickinterval=5,fg="#ffffff")
      v4.place(x=20,y=50*4)
      
      v5 = tk.Scale(background="#3c3c3c",orient=tk.HORIZONTAL,length = 300,width = 20,sliderlength = 15,from_ = 0,to = 30, resolution=0.5,tickinterval=5,fg="#ffffff")
      v5.place(x=20,y=50*5)
      
      
  win.title("GadaiImage Maker")
  win.geometry("1000x600")
  win.resizable(0,0)
  win.configure(background="#2f2f2f")
  make_images_button=tk.Button(text="Image Make",width=95,height=2,background="#3c3c3c",font=(10),fg="#ffffff",command=newimagesmakescene)
  make_images_button.place(x=20,y=20)
  
  win.mainloop()
  ```