Frankie-walsh4 commited on
Commit
a10cd56
·
1 Parent(s): 5f0033b

Update space

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -44,13 +44,16 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
44
  demo = gr.ChatInterface(
45
  respond,
46
  additional_inputs=[
47
- gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
48
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
49
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
 
 
 
50
  gr.Slider(
51
  minimum=0.1,
52
  maximum=1.0,
53
- value=0.95,
54
  step=0.05,
55
  label="Top-p (nucleus sampling)",
56
  ),
 
44
  demo = gr.ChatInterface(
45
  respond,
46
  additional_inputs=[
47
+ gr.Textbox(
48
+ value="You are a knowledgeable assistant specializing in Microsoft SharePoint, Office 365, and document management systems. Provide detailed, direct answers based on your knowledge without just referring to documentation. If you're not sure about something, say so clearly.",
49
+ label="System message"
50
+ ),
51
+ gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
52
+ gr.Slider(minimum=0.1, maximum=2.0, value=0.8, step=0.1, label="Temperature"),
53
  gr.Slider(
54
  minimum=0.1,
55
  maximum=1.0,
56
+ value=0.9,
57
  step=0.05,
58
  label="Top-p (nucleus sampling)",
59
  ),