This commit is contained in:
saloui 2023-07-12 09:36:45 +02:00
parent 768aeb2c4d
commit 7c2d741247

5
app.py
View File

@ -41,8 +41,6 @@ from flask import (
stream_with_context,
send_from_directory
)
from tkinter import Tk
from tkinter.filedialog import askopenfilename
from flask_socketio import SocketIO, emit
from pathlib import Path
@ -840,6 +838,9 @@ class LoLLMsWebUI(LoLLMsAPPI):
})
def install_model_from_path(self):
from tkinter import Tk
from tkinter.filedialog import askopenfilename
ASCIIColors.info(f"- Selecting model ...")
# Define the file types
filetypes = [