[CI]: fix isort

pull/666/head
Liqu1d-G 2024-01-26 17:01:13 +08:00
parent b00f04ba2b
commit 2243fb82aa
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# isort: skip_file
import argparse
import copy
import json

View File

@ -14,6 +14,7 @@ Please run with the command `streamlit run path/to/web_demo.py
--server.address=0.0.0.0 --server.port 7860`.
Using `python path/to/web_demo.py` may cause unknown problems.
"""
# isort: skip_file
import copy
import warnings
from dataclasses import asdict, dataclass
@ -22,7 +23,7 @@ from typing import Callable, List, Optional
import streamlit as st
import torch
from torch import nn
from transformers.generation.utils import (LogitsProcessorList,
from transformers.generation.utils import (LogitsProcessorList,
StoppingCriteriaList)
from transformers.utils import logging