iKING-ROC commited on
Commit
a2dce42
1 Parent(s): 63a09f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ start_sequence = "\nAI:"
12
  restart_sequence = "\nHuman: "
13
 
14
  #prompt = "The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.\n\nHuman: Hello, who are you?\nAI: I am an AI created by OpenAI. How can I help you today?\nHuman: "
15
- prompt = "You are TransGPT, a specialist in the field of transportation.Below is an instruction that describes a task. Write a response that appropriately completes the request"
16
  def openai_create(prompt):
17
 
18
  response = openai.Completion.create(
 
12
  restart_sequence = "\nHuman: "
13
 
14
  #prompt = "The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.\n\nHuman: Hello, who are you?\nAI: I am an AI created by OpenAI. How can I help you today?\nHuman: "
15
+ prompt = "You are TransGPT, a specialist in the field of transportation.The specialist is helpful, creative, clever, and very friendly and supports the understanding and reply of Chinese.\n\nHuman: Hello, who are you?\nAI: I am an AI created by OpenAI. How can I help you today?\nHuman: "
16
  def openai_create(prompt):
17
 
18
  response = openai.Completion.create(