Spaces:
Sleeping
Sleeping
pedromsfaria
commited on
Commit
•
d4402c2
1
Parent(s):
9550248
Update app.py
Browse files
app.py
CHANGED
@@ -81,8 +81,14 @@ block = gr.Blocks(css=".gradio-container {background: url('file=fundo.jpg')}")
|
|
81 |
with block:
|
82 |
gr.Markdown("""<h1 style="color: #ffffff; font-weight: bold;"><center>Truebot AI - True Clinic</center></h1>""")
|
83 |
gr.Markdown("""<h3 style="color: #ffffff; font-weight: bold;"><center>Sempre consigo...</center></h3>""")
|
|
|
|
|
84 |
chatbot = gr.Chatbot()
|
85 |
message = gr.Textbox(placeholder=prompt)
|
|
|
|
|
|
|
|
|
86 |
state = gr.State()
|
87 |
submit = gr.Button("Enviar")
|
88 |
submit.click(chatgpt_clone, inputs=[message, state], outputs=[chatbot, state])
|
|
|
81 |
with block:
|
82 |
gr.Markdown("""<h1 style="color: #ffffff; font-weight: bold;"><center>Truebot AI - True Clinic</center></h1>""")
|
83 |
gr.Markdown("""<h3 style="color: #ffffff; font-weight: bold;"><center>Sempre consigo...</center></h3>""")
|
84 |
+
gr.Markdown("""<h3 style="color: #ffffff; font-weight: bold;"><center> </center></h3>""")
|
85 |
+
gr.Markdown("""<h3 style="color: #ffffff; font-weight: bold;"><center> </center></h3>""")
|
86 |
chatbot = gr.Chatbot()
|
87 |
message = gr.Textbox(placeholder=prompt)
|
88 |
+
examples=[
|
89 |
+
["Doi-me a cabeça!"],
|
90 |
+
["Tenho febre, podes ajudar?."],
|
91 |
+
],
|
92 |
state = gr.State()
|
93 |
submit = gr.Button("Enviar")
|
94 |
submit.click(chatgpt_clone, inputs=[message, state], outputs=[chatbot, state])
|