mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 04:47:55 +00:00
update
This commit is contained in:
parent
768aeb2c4d
commit
7c2d741247
5
app.py
5
app.py
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user