Frankie-walsh4 commited on
Commit
1ec4295
·
1 Parent(s): ff62d4f

Changed default parameters

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -46,6 +46,8 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
46
  """
47
  demo = gr.ChatInterface(
48
  respond,
 
 
49
  additional_inputs=[
50
  gr.Textbox(
51
  value="""You are a specialized AI assistant with deep knowledge of Microsoft 365 services—including SharePoint Online, OneDrive, Teams, Exchange, and the Microsoft Purview (Compliance) ecosystem—as well as general records management and data governance best practices.
@@ -95,7 +97,7 @@ Follow any privacy or ethical guidelines, and do not disclose personally identif
95
  IMPORTANT: If a question has been asked before in the conversation, acknowledge this and either refer back to the previous answer or provide additional context. Do not simply repeat the same answer verbatim.""",
96
  label="System message"
97
  ),
98
- gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
99
  gr.Slider(minimum=0.1, maximum=2.0, value=0.4, step=0.1, label="Temperature"),
100
  gr.Slider(
101
  minimum=0.1,
@@ -109,4 +111,4 @@ IMPORTANT: If a question has been asked before in the conversation, acknowledge
109
 
110
 
111
  if __name__ == "__main__":
112
- demo.launch()
 
46
  """
47
  demo = gr.ChatInterface(
48
  respond,
49
+ title="AI Data Management Expert",
50
+ description="Hello! I am your Data Management Expert, specialized in Mcrosoft365. I'm here to help you with guidance on Data Management procedures. How can I assist you today?",
51
  additional_inputs=[
52
  gr.Textbox(
53
  value="""You are a specialized AI assistant with deep knowledge of Microsoft 365 services—including SharePoint Online, OneDrive, Teams, Exchange, and the Microsoft Purview (Compliance) ecosystem—as well as general records management and data governance best practices.
 
97
  IMPORTANT: If a question has been asked before in the conversation, acknowledge this and either refer back to the previous answer or provide additional context. Do not simply repeat the same answer verbatim.""",
98
  label="System message"
99
  ),
100
+ gr.Slider(minimum=1, maximum=2048, value=1200, step=1, label="Max new tokens"),
101
  gr.Slider(minimum=0.1, maximum=2.0, value=0.4, step=0.1, label="Temperature"),
102
  gr.Slider(
103
  minimum=0.1,
 
111
 
112
 
113
  if __name__ == "__main__":
114
+ demo.launch(server_name="0.0.0.0")