mirror of
https://github.com/BovineOverlord/Loyal-Bear---The-SynthID-Scrambler.git
synced 2026-08-24 13:23:08 +02:00
Add files via upload
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
import os
|
||||
import sys
|
||||
import subprocess
|
||||
import threading
|
||||
import tkinter as tk
|
||||
import webview
|
||||
from PIL import Image, ImageTk
|
||||
|
||||
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
VENV_PYTHON = os.path.join(SCRIPT_DIR, ".venv", "Scripts", "python.exe")
|
||||
@@ -37,6 +33,10 @@ def _bootstrap():
|
||||
|
||||
def _show_splash_and_wait():
|
||||
"""Show the splash with status text; returns True if model loaded OK."""
|
||||
import threading
|
||||
import tkinter as tk
|
||||
from PIL import Image, ImageTk
|
||||
|
||||
root = tk.Tk()
|
||||
root.overrideredirect(True)
|
||||
root.configure(bg="#0d0d1a")
|
||||
@@ -103,6 +103,8 @@ def main():
|
||||
input("Press Enter to exit...")
|
||||
return
|
||||
|
||||
import webview
|
||||
|
||||
from src.gui import build_ui, THEME, CSS
|
||||
|
||||
demo = build_ui()
|
||||
|
||||
Reference in New Issue
Block a user