Update app.py
Browse files
app.py
CHANGED
|
@@ -67,10 +67,11 @@ with gr.Blocks() as demo:
|
|
| 67 |
with gr.Row():
|
| 68 |
with gr.Column():
|
| 69 |
gr.Markdown(f"""
|
| 70 |
-
|
|
|
|
| 71 |
""")
|
| 72 |
with gr.Tab("Chatbot"):
|
| 73 |
-
gr.Markdown("# π
|
| 74 |
chatbot = gr.Chatbot()
|
| 75 |
with gr.Row():
|
| 76 |
message = gr.Textbox(
|
|
@@ -91,7 +92,7 @@ with gr.Blocks() as demo:
|
|
| 91 |
repetition_penalty = gr.Slider(0.0, 2.0, label="Repetition Penalty", step=0.1, value=1.1)
|
| 92 |
|
| 93 |
system_msg = gr.Textbox(
|
| 94 |
-
start_message, label="System Message", interactive=True, visible=True, placeholder="
|
| 95 |
|
| 96 |
chat_history_state = gr.State()
|
| 97 |
clear.click(clear_chat, inputs=[chat_history_state, message], outputs=[chat_history_state, message], queue=False)
|
|
|
|
| 67 |
with gr.Row():
|
| 68 |
with gr.Column():
|
| 69 |
gr.Markdown(f"""
|
| 70 |
+
## This demo is an unquantized GPU chatbot of [OpenOrcaxOpenChat-Preview2-13B](https://huggingface.co/Open-Orca/OpenOrcaxOpenChat-Preview2-13B)
|
| 71 |
+
Brought to you by your friends at Alignment Lab AI, Open Chat, and Open Access AI Collective!
|
| 72 |
""")
|
| 73 |
with gr.Tab("Chatbot"):
|
| 74 |
+
gr.Markdown("# π OpenOrca x OpenChat - Preview2 - 13B Playground Space! π")
|
| 75 |
chatbot = gr.Chatbot()
|
| 76 |
with gr.Row():
|
| 77 |
message = gr.Textbox(
|
|
|
|
| 92 |
repetition_penalty = gr.Slider(0.0, 2.0, label="Repetition Penalty", step=0.1, value=1.1)
|
| 93 |
|
| 94 |
system_msg = gr.Textbox(
|
| 95 |
+
start_message, label="System Message", interactive=True, visible=True, placeholder="System prompt. Provide instructions which you want the model to remember.", lines=5)
|
| 96 |
|
| 97 |
chat_history_state = gr.State()
|
| 98 |
clear.click(clear_chat, inputs=[chat_history_state, message], outputs=[chat_history_state, message], queue=False)
|