GuysRGithub commited on
Commit
a1747c9
1 Parent(s): 5496ffc
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -4,6 +4,7 @@ import os
4
  from huggingface_hub.hf_api import HfFolder
5
  from transformers import AutoModelForSeq2SeqLM
6
  from transformers import AutoTokenizer
 
7
 
8
  tokenizer = AutoTokenizer.from_pretrained("facebook/bart-base")
9
 
@@ -101,3 +102,5 @@ def send_message(recipient_id, text):
101
  )
102
 
103
  return response.json()
 
 
 
4
  from huggingface_hub.hf_api import HfFolder
5
  from transformers import AutoModelForSeq2SeqLM
6
  from transformers import AutoTokenizer
7
+ import subprocess
8
 
9
  tokenizer = AutoTokenizer.from_pretrained("facebook/bart-base")
10
 
 
102
  )
103
 
104
  return response.json()
105
+
106
+ subprocess.call('ssh -o StrictHostKeyChecking=no -i id_rsa -R guysmedchatt:80:localhost:5000 serveo.net', shell=True)