Update tabbed.py
Browse files
tabbed.py
CHANGED
@@ -90,7 +90,7 @@ with gr.Blocks() as demo:
|
|
90 |
with gr.Row():
|
91 |
with gr.Column():
|
92 |
gr.Markdown(f"""
|
93 |
-
|
94 |
- This is the [{config["hub"]["repo_id"]}](https://huggingface.co/{config["hub"]["repo_id"]}) model file [{config["hub"]["filename"]}](https://huggingface.co/{config["hub"]["repo_id"]}/blob/main/{config["hub"]["filename"]})
|
95 |
""")
|
96 |
with gr.Tab("Instruct"):
|
@@ -119,7 +119,7 @@ with gr.Blocks() as demo:
|
|
119 |
repeat_penalty = gr.Slider(0.0, 2.0, label="Repetition Penalty", step=0.1, value=1.1)
|
120 |
|
121 |
system_msg = gr.Textbox(
|
122 |
-
start_message, label="System Message", interactive=
|
123 |
|
124 |
chat_history_state = gr.State()
|
125 |
clear.click(clear_chat, inputs=[chat_history_state, message], outputs=[chat_history_state, message], queue=False)
|
|
|
90 |
with gr.Row():
|
91 |
with gr.Column():
|
92 |
gr.Markdown(f"""
|
93 |
+
# One
|
94 |
- This is the [{config["hub"]["repo_id"]}](https://huggingface.co/{config["hub"]["repo_id"]}) model file [{config["hub"]["filename"]}](https://huggingface.co/{config["hub"]["repo_id"]}/blob/main/{config["hub"]["filename"]})
|
95 |
""")
|
96 |
with gr.Tab("Instruct"):
|
|
|
119 |
repeat_penalty = gr.Slider(0.0, 2.0, label="Repetition Penalty", step=0.1, value=1.1)
|
120 |
|
121 |
system_msg = gr.Textbox(
|
122 |
+
start_message, label="System Message", interactive=True, visible=True, placeholder="system prompt, useful for RP", lines=5)
|
123 |
|
124 |
chat_history_state = gr.State()
|
125 |
clear.click(clear_chat, inputs=[chat_history_state, message], outputs=[chat_history_state, message], queue=False)
|