mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-23 07:49:04 +00:00
Tree: Format
Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
@@ -95,8 +95,11 @@ class ExLlamaV2Grammar:
|
||||
# Validate KBNF and create formatter
|
||||
f = FormatterBuilder()
|
||||
f.append_line(
|
||||
f"""{f.extractor(lambda nonterminal:
|
||||
CFGExtractor(nonterminal, kbnf_string))}"""
|
||||
f"""{
|
||||
f.extractor(
|
||||
lambda nonterminal: CFGExtractor(nonterminal, kbnf_string)
|
||||
)
|
||||
}"""
|
||||
)
|
||||
except Exception:
|
||||
logger.error(
|
||||
|
||||
Reference in New Issue
Block a user