适当缩短打字时间
This commit is contained in:
@@ -84,9 +84,9 @@ def translate_timestamp_to_human_readable(timestamp: float, mode: TimestampMode
|
|||||||
|
|
||||||
def calculate_typing_time(
|
def calculate_typing_time(
|
||||||
input_string: str,
|
input_string: str,
|
||||||
chinese_time: float = 0.3,
|
chinese_time: float = 0.2,
|
||||||
english_time: float = 0.15,
|
english_time: float = 0.1,
|
||||||
line_break_time: float = 0.1,
|
line_break_time: float = 0.05,
|
||||||
is_emoji: bool = False,
|
is_emoji: bool = False,
|
||||||
) -> float:
|
) -> float:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user