Aniquel commited on
Commit
39bb607
1 Parent(s): f1318ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def chat(text):
34
  # Use OpenAI's GPT-3.5 model to generate chatbot response
35
  response = openai.Completion.create(
36
  model=MODEL,
37
- prompt=f"Conversation with user:\n{'\n'.join(chat_history)}\nChatbot:",
38
  temperature=0.5,
39
  max_tokens=1024,
40
  n=1,
 
34
  # Use OpenAI's GPT-3.5 model to generate chatbot response
35
  response = openai.Completion.create(
36
  model=MODEL,
37
+ prompt = r"Conversation with user:\n" + "\n".join(chat_history) + r"\nChatbot:"
38
  temperature=0.5,
39
  max_tokens=1024,
40
  n=1,