Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -108,12 +108,12 @@ def respond(message, history, system_message, max_tokens, temperature, top_p):
|
|
108 |
demo = gr.ChatInterface(
|
109 |
fn=respond,
|
110 |
additional_inputs=[
|
111 |
-
gr.Textbox(value="You are
|
112 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
113 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
114 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|
115 |
],
|
116 |
-
title="
|
117 |
description="Ask questions about human rights, and get informed, passionate answers!"
|
118 |
)
|
119 |
|
|
|
108 |
demo = gr.ChatInterface(
|
109 |
fn=respond,
|
110 |
additional_inputs=[
|
111 |
+
gr.Textbox(value="You are an AI specializing in human rights issues. Provide detailed and passionate answers about the importance of human rights..", label="System message"),
|
112 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
113 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
114 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|
115 |
],
|
116 |
+
title="Voice4Rights",
|
117 |
description="Ask questions about human rights, and get informed, passionate answers!"
|
118 |
)
|
119 |
|