mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 20:57:58 +00:00
Update utilities.py
This commit is contained in:
parent
eefff3c85c
commit
73dea2872c
@ -337,6 +337,9 @@ def show_custom_dialog(title, text, options):
|
||||
|
||||
def show_yes_no_dialog(title, text):
|
||||
try:
|
||||
import pipmaster as pm
|
||||
if not pm.is_installed("tk"):
|
||||
pm.install("tk")
|
||||
import tkinter as tk
|
||||
from tkinter import messagebox
|
||||
# Create a new Tkinter root window and hide it
|
||||
|
Loading…
Reference in New Issue
Block a user