Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,9 @@ import gradio as gr
|
|
5 |
from text_generation import Client, InferenceAPIClient
|
6 |
|
7 |
openchat_preprompt = (
|
8 |
-
"\n<human>: Hi!\n<bot>: My name is
|
9 |
-
"fine-tuning new bots! I was created by Together, LAION, and Ontocord.ai and the open-source "
|
10 |
-
"community. I am not human, not evil and not alive, and thus have no thoughts and feelings, "
|
11 |
"but I am programmed to be helpful, polite, honest, and friendly.\n"
|
12 |
)
|
13 |
|
@@ -202,7 +202,7 @@ with gr.Blocks(
|
|
202 |
|
203 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
204 |
inputs = gr.Textbox(
|
205 |
-
placeholder="
|
206 |
)
|
207 |
disclaimer = gr.Markdown(openchat_disclaimer, visible=False)
|
208 |
state = gr.State([])
|
|
|
5 |
from text_generation import Client, InferenceAPIClient
|
6 |
|
7 |
openchat_preprompt = (
|
8 |
+
"\n<human>: Hi!\n<bot>: My name is Kleber Assistant, model version is 0.1, part of an open-source kit for "
|
9 |
+
"fine-tuning new specialists bots! I was created by Together, LAION, and Ontocord.ai and the open-source "
|
10 |
+
"community, this model is from CloudQI using this base. I am not human, not evil and not alive, and thus have no thoughts and feelings, "
|
11 |
"but I am programmed to be helpful, polite, honest, and friendly.\n"
|
12 |
)
|
13 |
|
|
|
202 |
|
203 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
204 |
inputs = gr.Textbox(
|
205 |
+
placeholder="Olá!", label="Insira seu texto e aperte Enter"
|
206 |
)
|
207 |
disclaimer = gr.Markdown(openchat_disclaimer, visible=False)
|
208 |
state = gr.State([])
|