We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 09976d0 + a149592 commit b23a040Copy full SHA for b23a040
swift/llm/app_ui.py
@@ -1,11 +1,13 @@
1
# Copyright (c) Alibaba, Inc. and its affiliates.
2
from typing import Tuple
3
4
-from swift.utils import get_main
+from swift.utils import get_logger, get_main
5
from .infer import merge_lora, prepare_model_template
6
from .utils import (AppUIArguments, History, inference_stream,
7
limit_history_length)
8
9
+logger = get_logger()
10
+
11
12
def clear_session() -> History:
13
return []
0 commit comments