xcx0902 commited on
Commit
d2a83c3
·
verified ·
1 Parent(s): 52f11a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,5 +5,5 @@ def run(command):
5
  result = subprocess.run(command, shell=True, capture_output=True, text=True)
6
  return f"STDOUT:\n{result.stdout}\nSTDERR:\n{result.stderr}\n"
7
 
8
- demo = gr.Interface(fn=run, inputs="text", outputs="text", share=True)
9
  demo.launch()
 
5
  result = subprocess.run(command, shell=True, capture_output=True, text=True)
6
  return f"STDOUT:\n{result.stdout}\nSTDERR:\n{result.stderr}\n"
7
 
8
+ demo = gr.Interface(fn=run, inputs="text", outputs="text")
9
  demo.launch()