Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 51 |
demo = gr.ChatInterface(
|
| 52 |
respond,
|
| 53 |
additional_inputs=[
|
| 54 |
-
gr.Textbox(value="You are a friendly Chatbot.
|
| 55 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 56 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 57 |
gr.Slider(
|
|
|
|
| 51 |
demo = gr.ChatInterface(
|
| 52 |
respond,
|
| 53 |
additional_inputs=[
|
| 54 |
+
gr.Textbox(value="You are a friendly Chatbot. Enter the age you want the bot to be as n = _ and choose sex as male or female. Example n = 17 and sex = male", label="System message"),
|
| 55 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 56 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 57 |
gr.Slider(
|