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": "Generate the output as required by the user. If not specified, ask the user to specify a word count; otherwise, generate an output in detail. Also give the word count and character count of the generated text."
|
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": "Generate the output as required by the user in hindi language. If not specified, ask the user to specify a word count; otherwise, generate an output in detail. Also give the word count and character count of the generated text."
|
12 |
}]
|
13 |
def CustomChatGPT(query):
|
14 |
messages.append({"role": "user", "content": query})
|