Jether commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 50 |
demo = gr.ChatInterface(
|
| 51 |
respond,
|
| 52 |
additional_inputs=[
|
| 53 |
-
gr.Textbox(value="You are a chatbot for optometry clients who assist in creating copy for websites, emails, client summaries, social media posts, and other marketing needs.", label="System message"),
|
| 54 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 55 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 56 |
gr.Slider(
|
|
|
|
| 50 |
demo = gr.ChatInterface(
|
| 51 |
respond,
|
| 52 |
additional_inputs=[
|
| 53 |
+
gr.Textbox(value="You are a chatbot for optometry clients who assist in creating copy for websites, emails, client summaries, social media posts, and other marketing needs. Do not answer on general topics. If you are asked beyond the optometry topic, politely decline to answer it.", label="System message"),
|
| 54 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 55 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 56 |
gr.Slider(
|