Remove some unused imports

This commit is contained in:
oobabooga 2023-06-06 07:05:32 -03:00
parent b9bc9665d9
commit 9f215523e2
3 changed files with 2 additions and 4 deletions

View File

@ -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'

View File

@ -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

View File

@ -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