mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 16:17:57 +01:00
Remove some unused imports
This commit is contained in:
parent
b9bc9665d9
commit
9f215523e2
@ -103,7 +103,7 @@ class ModelDownloader:
|
|||||||
classifications = []
|
classifications = []
|
||||||
has_pytorch = False
|
has_pytorch = False
|
||||||
has_pt = False
|
has_pt = False
|
||||||
has_ggml = False
|
# has_ggml = False
|
||||||
has_safetensors = False
|
has_safetensors = False
|
||||||
is_lora = False
|
is_lora = False
|
||||||
while True:
|
while True:
|
||||||
@ -148,7 +148,7 @@ class ModelDownloader:
|
|||||||
has_pt = True
|
has_pt = True
|
||||||
classifications.append('pt')
|
classifications.append('pt')
|
||||||
elif is_ggml:
|
elif is_ggml:
|
||||||
has_ggml = True
|
# has_ggml = True
|
||||||
classifications.append('ggml')
|
classifications.append('ggml')
|
||||||
|
|
||||||
cursor = base64.b64encode(f'{{"file_name":"{dict[-1]["path"]}"}}'.encode()) + b':50'
|
cursor = base64.b64encode(f'{{"file_name":"{dict[-1]["path"]}"}}'.encode()) + b':50'
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import datetime
|
import datetime
|
||||||
import traceback
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import ast
|
import ast
|
||||||
import random
|
import random
|
||||||
import re
|
import re
|
||||||
import threading
|
|
||||||
import time
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user