Spaces:
Runtime error
Runtime error
siddhantuniyal
commited on
Commit
•
59dbede
1
Parent(s):
601f870
Update app.py
Browse files
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(
|