Skip to content

Commit b23a040

Browse files
committed
Merge branch 'main' into release/1.7
2 parents 09976d0 + a149592 commit b23a040

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

swift/llm/app_ui.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Copyright (c) Alibaba, Inc. and its affiliates.
22
from typing import Tuple
33

4-
from swift.utils import get_main
4+
from swift.utils import get_logger, get_main
55
from .infer import merge_lora, prepare_model_template
66
from .utils import (AppUIArguments, History, inference_stream,
77
limit_history_length)
88

9+
logger = get_logger()
10+
911

1012
def clear_session() -> History:
1113
return []

0 commit comments

Comments
 (0)