Spaces:
Runtime error
Runtime error
whybeyoung
commited on
Commit
•
d1432b6
1
Parent(s):
ba37b2c
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import subprocess
|
|
4 |
import gradio as gr
|
5 |
|
6 |
def greet(cmd):
|
7 |
-
er,out = subprocess.getstatusoutput(cmd
|
8 |
return out
|
9 |
|
10 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
4 |
import gradio as gr
|
5 |
|
6 |
def greet(cmd):
|
7 |
+
er,out = subprocess.getstatusoutput(cmd)
|
8 |
return out
|
9 |
|
10 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|