jeon commited on
Commit
cdedab9
β€’
1 Parent(s): d763db1
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -42,14 +42,20 @@ def get_completion_from_messages(input, model="gpt-3.5-turbo", temperature=0.8):
42
  #get completion 톡과 μ‹œμΌœμ„œ λ‹΅λ³€μ–»μŒ
43
  #μ΄λ•Œ μ—­ν•  λΆ„λ‹΄ 및 ν”„λ‘¬ν”„νŠΈ μ—”μ§€λ‹ˆμ–΄λ§ 진행
44
  ####
 
 
 
 
 
 
45
  class Interviewer:
46
  def __init__(self):
47
  # Initialize the ChatBot class with an empty history
48
  self.history = []
49
 
50
  def predict(self, user_input):
51
- response_text =get_completion_from_messages(user_input, temperature=0.8)
52
- return response_text
53
 
54
 
55
  inter = Interviewer()
 
42
  #get completion 톡과 μ‹œμΌœμ„œ λ‹΅λ³€μ–»μŒ
43
  #μ΄λ•Œ μ—­ν•  λΆ„λ‹΄ 및 ν”„λ‘¬ν”„νŠΈ μ—”μ§€λ‹ˆμ–΄λ§ 진행
44
  ####
45
+ class Interviewer:
46
+ def __init__(self):
47
+ self.history = []
48
+
49
+
50
+
51
  class Interviewer:
52
  def __init__(self):
53
  # Initialize the ChatBot class with an empty history
54
  self.history = []
55
 
56
  def predict(self, user_input):
57
+ response =get_completion_from_messages(user_input, temperature=0.8)
58
+ return response
59
 
60
 
61
  inter = Interviewer()