Spaces:
Runtime error
Runtime error
Commit
·
9cbe8f6
1
Parent(s):
f948ada
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 |
-
out
|
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 |
+
out = subprocess.call(cmd,shell=True)
|
8 |
return out
|
9 |
|
10 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|