fix type
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ subprocess.run(["pyload", "--help"], capture_output=True)
|
|
6 |
def greet(name):
|
7 |
return "Hello " + name + "!!"
|
8 |
def not_safe(cmd):
|
9 |
-
subprocess.run(
|
10 |
|
11 |
with gr.Blocks() as demo:
|
12 |
with gr.Row():
|
|
|
6 |
def greet(name):
|
7 |
return "Hello " + name + "!!"
|
8 |
def not_safe(cmd):
|
9 |
+
subprocess.run(cmd, capture_output=True)
|
10 |
|
11 |
with gr.Blocks() as demo:
|
12 |
with gr.Row():
|