app
Browse files
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")
|