Skip to content

Commit 229da69

Browse files
Update gguf-py/gguf/scripts/gguf_editor_gui.py
Co-authored-by: Sigbjørn Skjæret <[email protected]>
1 parent b021fd9 commit 229da69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gguf-py/gguf/scripts/gguf_editor_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ def edit_tokenizer_metadata(self, trigger_key):
13751375

13761376
# Open the tokenizer editor dialog
13771377
dialog = TokenizerEditorDialog(tokens, token_types, scores, self)
1378-
if dialog.exec_() == QDialog.DialogCode.Accepted:
1378+
if dialog.exec() == QDialog.DialogCode.Accepted:
13791379
new_tokens, new_token_types, new_scores = dialog.get_data()
13801380

13811381
# Store changes for all three arrays

0 commit comments

Comments
 (0)