Skip to content

Commit cc24a14

Browse files
bactCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5ff1001 commit cc24a14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pythainlp/transliterate/thai2rom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def __init__(
283283
self.attn = Attn(method="general", hidden_size=self.hidden_size)
284284
self.linear = nn.Linear(hidden_size, vocabulary_size)
285285

286-
self.dropout: nn.Dropout = nn.Dropout(dropout)
286+
self.dropout = nn.Dropout(dropout)
287287

288288
def forward(
289289
self,

0 commit comments

Comments
 (0)