Spaces:
Build error
Build error
fix 'Hello' in first result
Browse files
app.py
CHANGED
|
@@ -4,5 +4,7 @@ from utils import *
|
|
| 4 |
def final_resul(text):
|
| 5 |
text = character_replacement(text, num_errors=3)
|
| 6 |
|
|
|
|
|
|
|
| 7 |
demo = gr.Interface(fn=final_resul, inputs="text", outputs="text")
|
| 8 |
demo.launch()
|
|
|
|
| 4 |
def final_resul(text):
|
| 5 |
text = character_replacement(text, num_errors=3)
|
| 6 |
|
| 7 |
+
return text
|
| 8 |
+
|
| 9 |
demo = gr.Interface(fn=final_resul, inputs="text", outputs="text")
|
| 10 |
demo.launch()
|