mdkhalid commited on
Commit
5b6ab61
·
1 Parent(s): 00d580d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ openai.api_key = "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"
8
  #messages = [{"role": "system", "content": "You generate output in a sequential and organized manner."
9
  #}]
10
 
11
- messages = [{"role": "system", "content": "Allow the user to input their query in any language you can understand. You must respond with 3 responses one in English, one in German and one in Hindi. Using 200 words or less for each response. Provide the word count and character count of the generated text after each language output."
12
  }]
13
  def CustomChatGPT(query):
14
  messages.append({"role": "user", "content": query})
 
8
  #messages = [{"role": "system", "content": "You generate output in a sequential and organized manner."
9
  #}]
10
 
11
+ messages = [{"role": "system", "content": "Allow the user to input their query in any language you can understand. You must respond with 3 responses one in English, one in German and one in Hindi. Use 200 words or less for each response. Provide the word count and character count of each response."
12
  }]
13
  def CustomChatGPT(query):
14
  messages.append({"role": "user", "content": query})