minseokKoo commited on
Commit
16498e8
·
1 Parent(s): 5acefa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -26,6 +26,7 @@ def greet(co):
26
  code_text = re.sub('\/\/.*', '', code_text)
27
  code_text = re.sub('(\\\\n)+', '\\n', code_text)
28
 
 
29
  # 1. CFA-CodeBERTa-small.pt -> CodeBERTa-small-v1 finetunig model
30
  path = os.getcwd() + '/models/CFA-CodeBERTa-small.pt'
31
  tokenizer = AutoTokenizer.from_pretrained("huggingface/CodeBERTa-small-v1")
 
26
  code_text = re.sub('\/\/.*', '', code_text)
27
  code_text = re.sub('(\\\\n)+', '\\n', code_text)
28
 
29
+
30
  # 1. CFA-CodeBERTa-small.pt -> CodeBERTa-small-v1 finetunig model
31
  path = os.getcwd() + '/models/CFA-CodeBERTa-small.pt'
32
  tokenizer = AutoTokenizer.from_pretrained("huggingface/CodeBERTa-small-v1")