Skip to content

Commit a149592

Browse files
authored
fix app-ui bug (#488)
1 parent 8726223 commit a149592

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)