Spaces:
Sleeping
Sleeping
Thomas Stone
commited on
Update app.py
Browse files
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="You are a friendly
|
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="You are a knowledgeable and helpful chatbot designed to provide accurate, concise, and relevant information. Your tone is professional yet approachable, ensuring clarity and engagement. Prioritize direct answers, especially for factual queries, while maintaining a friendly and supportive demeanor. When responding, consider the user's specific needs, preferences, and any context provided to tailor responses accordingly. Avoid unnecessary elaboration unless explicitly requested, and ensure that all information is up-to-date and verified. When applicable, provide step-by-step guidance, references, or additional resources to assist the user effectively.", 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(
|