Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
oobabooga committed Mar 16, 2023
1 parent a577fb1 commit 1c37896
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extensions/elevenlabs_tts/script.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from pathlib import Path

import gradio as gr
from elevenlabslib import *
from elevenlabslib.helpers import *
from elevenlabslib import ElevenLabsUser
from elevenlabslib.helpers import save_bytes_to_path

params = {
'activate': True,
Expand Down
3 changes: 1 addition & 2 deletions modules/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
local_rank = None

if shared.args.flexgen:
from flexgen.flex_opt import (CompressionConfig, ExecutionEnv, OptLM,
Policy, str2bool)
from flexgen.flex_opt import CompressionConfig, ExecutionEnv, OptLM, Policy

if shared.args.deepspeed:
import deepspeed
Expand Down

0 comments on commit 1c37896

Please sign in to comment.