mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Remove unused imports
This commit is contained in:
parent
a577fb1077
commit
1c378965e1
@ -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,
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user