Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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. Generate the output in the following three languages: English, German, and Hindi.
|
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. Generate and show the output in the following three languages using 200 words or less: English, German, and Hindi.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})
|