nyanko7 commited on
Commit
d2d7c73
1 Parent(s): a5763be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -198,7 +198,6 @@ def submit_message(detectFrom, detectTo, user_token, prompt):
198
  ]
199
 
200
  try:
201
- print(prompt_msg)
202
  openai_response = openai.ChatCompletion.create(
203
  model="gpt-3.5-turbo",
204
  messages=prompt_msg,
@@ -209,7 +208,6 @@ def submit_message(detectFrom, detectTo, user_token, prompt):
209
  frequency_penalty=1,
210
  presence_penalty=1,
211
  )
212
- print(openai_response)
213
 
214
  combined = ""
215
  for resp in openai_response:
@@ -219,7 +217,6 @@ def submit_message(detectFrom, detectTo, user_token, prompt):
219
  yield combined
220
 
221
  except Exception as e:
222
- print(e)
223
  return f"Error: {e}"
224
 
225
  css = """
 
198
  ]
199
 
200
  try:
 
201
  openai_response = openai.ChatCompletion.create(
202
  model="gpt-3.5-turbo",
203
  messages=prompt_msg,
 
208
  frequency_penalty=1,
209
  presence_penalty=1,
210
  )
 
211
 
212
  combined = ""
213
  for resp in openai_response:
 
217
  yield combined
218
 
219
  except Exception as e:
 
220
  return f"Error: {e}"
221
 
222
  css = """