Unggi commited on
Commit
6d38642
1 Parent(s): da2515f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -24,6 +24,9 @@ def inference(prompt_inputs):
24
  model_name = model_name
25
  )
26
 
 
 
 
27
  # prompt 구두점 단위로 분리하기
28
  prompt_list = prompt_inputs.split('.|!|?')
29
 
 
24
  model_name = model_name
25
  )
26
 
27
+ # preprocessing
28
+ prompt_inputs = prompt_inputs.replace('\n', ' ')
29
+
30
  # prompt 구두점 단위로 분리하기
31
  prompt_list = prompt_inputs.split('.|!|?')
32