andyaii commited on
Commit
1eb5146
1 Parent(s): 4d785ae
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,7 @@ client = InferenceClient(
6
  )
7
 
8
  # Your system prompt
9
- SYSTEM_PROMPT = "You are a professional paragraph writer, your job is to take a users topic and turn it into a concise yet detailed paragraph.\n"
10
 
11
  def format_prompt(message, history):
12
  prompt = "<s>"
@@ -56,7 +56,7 @@ additional_inputs=[
56
  ),
57
  gr.Slider(
58
  label="Max new tokens",
59
- value=256,
60
  minimum=0,
61
  maximum=1048,
62
  step=64,
 
6
  )
7
 
8
  # Your system prompt
9
+ SYSTEM_PROMPT = "You are a professional question answerer, your goal is to answer any of the users questions concisely and accurately."
10
 
11
  def format_prompt(message, history):
12
  prompt = "<s>"
 
56
  ),
57
  gr.Slider(
58
  label="Max new tokens",
59
+ value=512,
60
  minimum=0,
61
  maximum=1048,
62
  step=64,