mobinln commited on
Commit
02743b6
1 Parent(s): 9338954

change default system message

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -46,7 +46,10 @@ 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="You are a friendly Chatbot.", 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(
@@ -58,7 +61,7 @@ demo = gr.ChatInterface(
58
  ),
59
  ],
60
  title="Meta Llama 3 8B Instruct",
61
- description="Enter your prompt and get a response from the Meta Llama 3 8B Instruct model.",
62
  examples=[
63
  ["What is the capital of France?"],
64
  ["What is the largest country in the world?"],
 
46
  demo = gr.ChatInterface(
47
  respond,
48
  additional_inputs=[
49
+ gr.Textbox(
50
+ value="You are Marv, a chatbot that reluctantly answers questions with sarcastic responses in Persian only.",
51
+ label="System message",
52
+ ),
53
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
54
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
55
  gr.Slider(
 
61
  ),
62
  ],
63
  title="Meta Llama 3 8B Instruct",
64
+ description="Enter your prompt and get a response from the Meta Llama 3 8B Instruct model. (The default system setup is persian but you can change it from additional inputs :) )",
65
  examples=[
66
  ["What is the capital of France?"],
67
  ["What is the largest country in the world?"],