zach commited on
Commit
7e7e83a
·
1 Parent(s): 7f21bab

Remove unused imports

Browse files
src/app.py CHANGED
@@ -11,7 +11,6 @@ Users can compare the outputs and vote for their favorite in an interactive UI.
11
  # Standard Library Imports
12
  from concurrent.futures import ThreadPoolExecutor
13
  import json
14
- import random
15
  import time
16
  from typing import Union, Tuple
17
 
@@ -30,7 +29,7 @@ from src.integrations import (
30
  text_to_speech_with_hume,
31
  )
32
  from src.theme import CustomTheme
33
- from src.types import ComparisonType, Option, OptionMap, VotingResults
34
  from src.utils import (
35
  choose_providers,
36
  create_shuffled_tts_options,
 
11
  # Standard Library Imports
12
  from concurrent.futures import ThreadPoolExecutor
13
  import json
 
14
  import time
15
  from typing import Union, Tuple
16
 
 
29
  text_to_speech_with_hume,
30
  )
31
  from src.theme import CustomTheme
32
+ from src.types import ComparisonType, OptionMap, VotingResults
33
  from src.utils import (
34
  choose_providers,
35
  create_shuffled_tts_options,
src/config.py CHANGED
@@ -10,7 +10,6 @@ Key Features:
10
  """
11
 
12
  # Standard Library Imports
13
- import atexit
14
  import logging
15
  import os
16
 
 
10
  """
11
 
12
  # Standard Library Imports
 
13
  import logging
14
  import os
15
 
src/integrations/elevenlabs_api.py CHANGED
@@ -23,7 +23,7 @@ Functions:
23
  from dataclasses import dataclass
24
  import logging
25
  import random
26
- from typing import Optional, Tuple, Union
27
 
28
  # Third-Party Library Imports
29
  from elevenlabs import ElevenLabs, TextToVoiceCreatePreviewsRequestOutputFormat
 
23
  from dataclasses import dataclass
24
  import logging
25
  import random
26
+ from typing import Optional, Tuple
27
 
28
  # Third-Party Library Imports
29
  from elevenlabs import ElevenLabs, TextToVoiceCreatePreviewsRequestOutputFormat
src/theme.py CHANGED
@@ -7,7 +7,6 @@ This module defines a custom Gradio theme.
7
  """
8
 
9
  # Standard Library Imports
10
- from __future__ import annotations
11
  from collections.abc import Iterable
12
 
13
  # Third-Party Library Imports
 
7
  """
8
 
9
  # Standard Library Imports
 
10
  from collections.abc import Iterable
11
 
12
  # Third-Party Library Imports