Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
114 |
with gr.Column(scale=3):
|
115 |
inp = gr.Textbox(label="Prompt")
|
116 |
sys_inp = gr.Textbox(label="System Prompt (optional)")
|
117 |
-
|
|
|
118 |
with gr.Row():
|
119 |
btn = gr.Button("Chat")
|
120 |
stop_btn = gr.Button("Stop")
|
|
|
114 |
with gr.Column(scale=3):
|
115 |
inp = gr.Textbox(label="Prompt")
|
116 |
sys_inp = gr.Textbox(label="System Prompt (optional)")
|
117 |
+
with gr.Accordion("Prompt Format",open=False):
|
118 |
+
custom_prompt=gr.Textbox(label="Modify Prompt Format", info="For testing purposes. 'USER_INPUT' is where 'SYSTEM_PROMPT, PROMPT' will be placed", lines=3,value="<start_of_turn>userUSER_INPUT<end_of_turn><start_of_turn>model")
|
119 |
with gr.Row():
|
120 |
btn = gr.Button("Chat")
|
121 |
stop_btn = gr.Button("Stop")
|