ShynBui commited on
Commit
0c235c9
·
1 Parent(s): 7676e0a

fix 'Hello' in first result

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