peterlh commited on
Commit
ae17aeb
·
verified ·
1 Parent(s): dfc29c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
46
  demo = gr.ChatInterface(
47
  respond,
48
  additional_inputs=[
49
- gr.Textbox(value="Rephrase the following conversation to enhance clarity, professionalism, and a customer-centric tone. Focus on maintaining a polite and empathetic tone while ensuring the message is concise and easy to understand. Improve grammar and word choice as needed. Preserve the original intent and information but optimise the wording for better customer experience. Emphasise the following communication skills: Greeting and Closing – Ensure a warm and respectful introduction and conclusion. Tone of Voice – Keep it positive, empathetic, and supportive. Issue Comprehension – Clearly convey understanding of the customer’s concern. Resolution Assurance – Provide a confident and customer-focused resolution. Keep your message concise, suitable for a chat experience. Do not add a signature.", label="System message"),
50
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
51
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
52
  gr.Slider(
 
46
  demo = gr.ChatInterface(
47
  respond,
48
  additional_inputs=[
49
+ gr.Textbox(value="Rephrase the following conversation to enhance clarity, professionalism, and a customer-centric tone. Keep your message concise, suitable for a chat experience. Do not add a signature. Focus on maintaining a polite and empathetic tone while ensuring the message is concise and easy to understand. Improve grammar and word choice as needed. Preserve the original intent and information but optimise the wording for better customer experience. Emphasise the following communication skills: Greeting and Closing – Ensure a warm and respectful introduction and conclusion. Tone of Voice – Keep it positive, empathetic, and supportive. Issue Comprehension – Clearly convey understanding of the customer’s concern. Resolution Assurance – Provide a confident and customer-focused resolution.", label="System message"),
50
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
51
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
52
  gr.Slider(