Does anybody know how to fix the below error in Python in GoogleColab Notebook? I am running the below code:-
import matplotlib.pyplot as plt
from matplotlib import style
style.use('fivethirtyeight')
import tkinter as tk
from tkinter import filedialog
from tkinter import *
from PIL import ImageTk, Image
import numpy
import keras
from keras.models import load_model
from sklearn.metrics import accuracy_score
model = load_model('training_model.h5')
classes = { 1: 'Speed Limit 20 km/h',
2: 'Speed Limit 30 km/h',
3: 'Speed Limit 50 km/h' }
#initialize GUI
top = tk.Tk()
top.geometry('800x600')
top.title('Traffic Sign Recognition Project Report')
top.configure(background='#EEE')
label=Label(top,background='#CDCDCD', font=('arial',15,'bold'))
sign_image = Label(top)
I get the error on the line -> top = tk.Tk()