label='System Instructions'
Browse files
app.py
CHANGED
@@ -91,11 +91,11 @@ Gradio Blocks low-level API that allows to create custom web applications (here
|
|
91 |
"""
|
92 |
with gr.Blocks() as demo:
|
93 |
logger.info("Starting Demo...")
|
94 |
-
system_instruct = gr.Textbox(value=init_system_role)
|
95 |
chatbot = gr.Chatbot(label="Wisi")
|
96 |
state = gr.State([])
|
97 |
with gr.Row():
|
98 |
-
txt = gr.Textbox(show_label=False, placeholder="Enter text and press enter").style(container=False)
|
99 |
output_html = gr.HTML(label="Chat's Voice", value='')
|
100 |
output_html.visible = False
|
101 |
|
|
|
91 |
"""
|
92 |
with gr.Blocks() as demo:
|
93 |
logger.info("Starting Demo...")
|
94 |
+
system_instruct = gr.Textbox(label='System Instructions', value=init_system_role)
|
95 |
chatbot = gr.Chatbot(label="Wisi")
|
96 |
state = gr.State([])
|
97 |
with gr.Row():
|
98 |
+
txt = gr.Textbox(show_label=False, placeholder="Enter text and press enter") # .style(container=False)
|
99 |
output_html = gr.HTML(label="Chat's Voice", value='')
|
100 |
output_html.visible = False
|
101 |
|