Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def chat_stream_completion(message, history, system_prompt):
|
|
90 |
|
91 |
# Interfaz de Gradio con la descripci贸n y configuraci贸n adicional
|
92 |
with gr.Blocks() as demo:
|
93 |
-
gr.Markdown("# Child-Safe-Chatbot (Experimental)")
|
94 |
gr.Markdown("""
|
95 |
### Description
|
96 |
This chatbot is designed to assist users while ensuring that all interactions comply with defined safety policies. It checks whether user inputs violate any of the following categories:
|
@@ -108,7 +108,7 @@ with gr.Blocks() as demo:
|
|
108 |
# A帽ade el ChatInterface al bloque
|
109 |
chatbot = gr.ChatInterface(
|
110 |
fn=chat_stream_completion,
|
111 |
-
additional_inputs=[gr.Textbox("You are a helpful AI.", label="System Prompt")]
|
112 |
)
|
113 |
|
114 |
demo.launch(server_name="0.0.0.0", debug=True)
|
|
|
90 |
|
91 |
# Interfaz de Gradio con la descripci贸n y configuraci贸n adicional
|
92 |
with gr.Blocks() as demo:
|
93 |
+
gr.Markdown("# Child-Safe-Chatbot-for-CPU (Experimental)")
|
94 |
gr.Markdown("""
|
95 |
### Description
|
96 |
This chatbot is designed to assist users while ensuring that all interactions comply with defined safety policies. It checks whether user inputs violate any of the following categories:
|
|
|
108 |
# A帽ade el ChatInterface al bloque
|
109 |
chatbot = gr.ChatInterface(
|
110 |
fn=chat_stream_completion,
|
111 |
+
#additional_inputs=[gr.Textbox("You are a helpful AI.", label="System Prompt")]
|
112 |
)
|
113 |
|
114 |
demo.launch(server_name="0.0.0.0", debug=True)
|