Skip to content

Commit 1c37896

Browse files
committed
Remove unused imports
1 parent a577fb1 commit 1c37896

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

extensions/elevenlabs_tts/script.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from pathlib import Path
22

33
import gradio as gr
4-
from elevenlabslib import *
5-
from elevenlabslib.helpers import *
4+
from elevenlabslib import ElevenLabsUser
5+
from elevenlabslib.helpers import save_bytes_to_path
66

77
params = {
88
'activate': True,

modules/models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
local_rank = None
1717

1818
if shared.args.flexgen:
19-
from flexgen.flex_opt import (CompressionConfig, ExecutionEnv, OptLM,
20-
Policy, str2bool)
19+
from flexgen.flex_opt import CompressionConfig, ExecutionEnv, OptLM, Policy
2120

2221
if shared.args.deepspeed:
2322
import deepspeed

0 commit comments

Comments
 (0)