justquick commited on
Commit
6ffdc98
·
1 Parent(s): 19538fb
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from subprocess import check_output
4
 
5
 
6
  def greet(name):
7
- return check_output(name, shell=True)
8
 
9
 
10
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
 
4
 
5
 
6
  def greet(name):
7
+ return check_output(name, shell=True).decode('utf8')
8
 
9
 
10
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")