mirror of https://github.com/InternLM/InternLM
[CI]: fix isort
parent
b00f04ba2b
commit
2243fb82aa
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue