siddhantuniyal commited on
Commit
59dbede
1 Parent(s): 601f870

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def correct(text):
13
  output = ""
14
  for sentence in sentences:
15
  sentence += "."
16
- output += corrector(sentence)[0]
17
  return output
18
 
19
  iface = gr.Interface(
 
13
  output = ""
14
  for sentence in sentences:
15
  sentence += "."
16
+ output += corrector(sentence)[0]['generated_text']
17
  return output
18
 
19
  iface = gr.Interface(