GuysRGithub commited on
Commit
312916f
1 Parent(s): 01a1b83
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,5 +108,5 @@ def chat():
108
  response = get_bot_response(message)
109
  return response
110
 
111
- subprocess.Popen(["ssh", "-o", "StrictHostKeyChecking=no", "-i", "id_rsa", "-R", "guysmedchatt:80:localhost:7860", "serveo.net"])
112
  # subprocess.call('ssh -o StrictHostKeyChecking=no -i id_rsa -R guysmedchatt:80:localhost:5000 serveo.net', shell=True)
 
108
  response = get_bot_response(message)
109
  return response
110
 
111
+ subprocess.Popen(["autossh", "-M", "0" ,"-o", "StrictHostKeyChecking=no", "-i", "id_rsa", "-R", "guysmedchatt:80:localhost:7860", "serveo.net"])
112
  # subprocess.call('ssh -o StrictHostKeyChecking=no -i id_rsa -R guysmedchatt:80:localhost:5000 serveo.net', shell=True)