Unityraptor commited on
Commit
6d5b096
1 Parent(s): c6b9401

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -49,7 +49,11 @@ def predict(mytextInput):
49
  out = translate(paraphrase(mytextInput))
50
  return out
51
 
52
- iface = gr.Interface(predict,
 
 
 
 
53
  inputs="textbox",
54
  outputs="text",
55
  )
 
49
  out = translate(paraphrase(mytextInput))
50
  return out
51
 
52
+ def greet(name):
53
+ return "Hello "+name
54
+
55
+
56
+ iface = gr.Interface(fn=greet,
57
  inputs="textbox",
58
  outputs="text",
59
  )