Sort imports

This commit is contained in:
oobabooga 2023-04-07 14:42:03 -03:00
parent 962e33dc10
commit 1dc464dcb0
8 changed files with 9 additions and 8 deletions

View file

@ -2,10 +2,11 @@ import re
from pathlib import Path
import gradio as gr
import modules.shared as shared
from elevenlabslib import ElevenLabsUser
from elevenlabslib.helpers import save_bytes_to_path
import modules.shared as shared
params = {
'activate': True,
'api_key': '12345',

View file

@ -1,7 +1,8 @@
import gradio as gr
import modules.shared as shared
import pandas as pd
import modules.shared as shared
df = pd.read_csv("https://raw.githubusercontent.com/devbrones/llama-prompts/main/prompts/prompts.csv")

View file

@ -4,12 +4,12 @@ import re
from pathlib import Path
import gradio as gr
import modules.chat as chat
import modules.shared as shared
import requests
import torch
from PIL import Image
from modules import chat, shared
torch._C._jit_set_profiling_mode(False)
# parameters which can be customized in settings.json of webui

View file

@ -3,6 +3,7 @@ from pathlib import Path
import gradio as gr
import torch
from extensions.silero_tts import tts_preprocessor
from modules import chat, shared
from modules.html_generator import chat_html_wrapper

View file

@ -2,7 +2,6 @@ import time
from pathlib import Path
import torch
import tts_preprocessor
torch._C._jit_set_profiling_mode(False)

View file

@ -2,7 +2,6 @@ import re
from num2words import num2words
punctuation = r'[\s,.?!/)\'\]>]'
alphabet_map = {
"A": " Ei ",