cbg342 commited on
Commit
75f8b5e
·
1 Parent(s): a0d11c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def askGPT(input):
108
  return resp
109
 
110
  def runCmd(flag):
111
- if flag and (not st.session_state['command'].startswith('rm '))):
112
  with st.spinner('Running command \'' + st.session_state['command'] + '\''):
113
  try:
114
  p = subprocess.Popen(st.session_state['command'], shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE)
 
108
  return resp
109
 
110
  def runCmd(flag):
111
+ if flag and (not st.session_state['command'].startswith('rm ')):
112
  with st.spinner('Running command \'' + st.session_state['command'] + '\''):
113
  try:
114
  p = subprocess.Popen(st.session_state['command'], shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE)