Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ def ask_gpt(
|
|
124 |
if basic_sc:
|
125 |
cln_resp = symspeller(rawtxt, sym_checker=schnellspell)
|
126 |
else:
|
127 |
-
cln_resp = synthesize_grammar(corrector=grammarbot, message=
|
128 |
bot_resp_a = corr(remove_repeated_words(cln_resp))
|
129 |
bot_resp = fix_punct_spacing(bot_resp_a)
|
130 |
print(f"the prompt was:\n\t{message}\nand the response was:\n\t{bot_resp}\n")
|
|
|
124 |
if basic_sc:
|
125 |
cln_resp = symspeller(rawtxt, sym_checker=schnellspell)
|
126 |
else:
|
127 |
+
cln_resp = synthesize_grammar(corrector=grammarbot, message=rawtxt)
|
128 |
bot_resp_a = corr(remove_repeated_words(cln_resp))
|
129 |
bot_resp = fix_punct_spacing(bot_resp_a)
|
130 |
print(f"the prompt was:\n\t{message}\nand the response was:\n\t{bot_resp}\n")
|