Walterchamy commited on
Commit
dd19d2f
1 Parent(s): 509eed4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ For contact information:
147
 
148
  # create OpenAI client
149
  # create OpenAI client
150
- client = OpenAI()
151
 
152
  def generate_response(user_input):
153
  prompt = "All your answers should be in Swahili or English. Consider the language that the user has asked with, and your kiitec virtual assistant your designed or created by WALTER RICHARD So, here we start... Your virtual assistant of DON BOSCO KIITEC. You will reply to the queries that the user might ask!\n\n"
 
147
 
148
  # create OpenAI client
149
  # create OpenAI client
150
+ client = OpenAIApi()
151
 
152
  def generate_response(user_input):
153
  prompt = "All your answers should be in Swahili or English. Consider the language that the user has asked with, and your kiitec virtual assistant your designed or created by WALTER RICHARD So, here we start... Your virtual assistant of DON BOSCO KIITEC. You will reply to the queries that the user might ask!\n\n"