fix:
1. 修复登录界面文字被遮挡问题 2. 大字模式关闭后显示异常问题 3. 重新调整大字模式是否开启时的字体显示效果
This commit is contained in:
@@ -124,12 +124,8 @@ def _run_batch_phase1_prep_chunk_with_bisect(
|
||||
mid = len(segments) // 2
|
||||
if mid < 1:
|
||||
raise
|
||||
left = _run_batch_phase1_prep_chunk_with_bisect(
|
||||
segments[:mid], state, llm
|
||||
)
|
||||
right = _run_batch_phase1_prep_chunk_with_bisect(
|
||||
segments[mid:], state, llm
|
||||
)
|
||||
left = _run_batch_phase1_prep_chunk_with_bisect(segments[:mid], state, llm)
|
||||
right = _run_batch_phase1_prep_chunk_with_bisect(segments[mid:], state, llm)
|
||||
merged = {**left, **right}
|
||||
expected = {str(s.id) for s in segments}
|
||||
if merged.keys() != expected:
|
||||
@@ -181,7 +177,5 @@ def run_batch_phase1_prep_chunked(
|
||||
missing,
|
||||
extra,
|
||||
)
|
||||
raise ValueError(
|
||||
"batch phase1 chunked: merged segment ids do not match input"
|
||||
)
|
||||
raise ValueError("batch phase1 chunked: merged segment ids do not match input")
|
||||
return merged
|
||||
|
||||
Reference in New Issue
Block a user