Z3ktrix commited on
Commit
63e9e64
Β·
verified Β·
1 Parent(s): b8880ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ async def ask(ctx, *, question: str):
42
  Command to ask a question to the Hugging Face model with an instructive prompt.
43
  """
44
  # Create a structured prompt
45
- prompt = f"Do not put input in your response. Do not be annoying. Do not write insanely large responses unless asked specifically. Please provide a detailed response to the following: {question}"
46
  await ctx.send(f"Question: {question}")
47
  response = query_huggingface(prompt)
48
  if 'generated_text' in response:
 
42
  Command to ask a question to the Hugging Face model with an instructive prompt.
43
  """
44
  # Create a structured prompt
45
+ prompt = f"Keep Responses to a 'PG' Rating OR lower. Do not put input in your response. Do not be annoying. Please provide a detailed response to the following: {question}"
46
  await ctx.send(f"Question: {question}")
47
  response = query_huggingface(prompt)
48
  if 'generated_text' in response: