update main.spec
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
# main.py
|
||||
# -*- coding: utf-8 -*-
|
||||
import tkinter as tk
|
||||
import customtkinter as ctk
|
||||
from ui import NovelGeneratorGUI
|
||||
|
||||
def main():
|
||||
root = tk.Tk()
|
||||
root.title("Novel Generator")
|
||||
app = NovelGeneratorGUI(root)
|
||||
root.mainloop()
|
||||
app = ctk.CTk()
|
||||
gui = NovelGeneratorGUI(app)
|
||||
app.mainloop()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user