Remove unused imports

This commit is contained in:
oobabooga 2023-03-16 10:18:34 -03:00
parent a577fb1077
commit 1c378965e1
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,8 @@
from pathlib import Path from pathlib import Path
import gradio as gr import gradio as gr
from elevenlabslib import * from elevenlabslib import ElevenLabsUser
from elevenlabslib.helpers import * from elevenlabslib.helpers import save_bytes_to_path
params = { params = {
'activate': True, 'activate': True,

View File

@ -16,8 +16,7 @@ transformers.logging.set_verbosity_error()
local_rank = None local_rank = None
if shared.args.flexgen: if shared.args.flexgen:
from flexgen.flex_opt import (CompressionConfig, ExecutionEnv, OptLM, from flexgen.flex_opt import CompressionConfig, ExecutionEnv, OptLM, Policy
Policy, str2bool)
if shared.args.deepspeed: if shared.args.deepspeed:
import deepspeed import deepspeed