pszemraj commited on
Commit
22887e0
1 Parent(s): 98bcb65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=cln_resp)
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")