Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,6 +43,9 @@ def assistant_response(message, history, thread_id=None):
|
|
| 43 |
|
| 44 |
css = """
|
| 45 |
footer {display: none !important;}
|
|
|
|
|
|
|
|
|
|
| 46 |
"""
|
| 47 |
|
| 48 |
example_conversation = [
|
|
@@ -58,7 +61,7 @@ with gr.Blocks(title="Assistente para o IFAL", css=css, theme=seafoam) as iface:
|
|
| 58 |
state = gr.State(None)
|
| 59 |
clear_button = gr.Button("Limpar Conversa")
|
| 60 |
|
| 61 |
-
gr.Markdown("Criado por Giseldo Neo.")
|
| 62 |
def respond(message, chat_history, thread_id=None):
|
| 63 |
if thread_id is None:
|
| 64 |
thread_id = state.value
|
|
|
|
| 43 |
|
| 44 |
css = """
|
| 45 |
footer {display: none !important;}
|
| 46 |
+
.centered-text {
|
| 47 |
+
text-align: center;
|
| 48 |
+
}
|
| 49 |
"""
|
| 50 |
|
| 51 |
example_conversation = [
|
|
|
|
| 61 |
state = gr.State(None)
|
| 62 |
clear_button = gr.Button("Limpar Conversa")
|
| 63 |
|
| 64 |
+
gr.Markdown("<div class='centered-text'>Criado por Giseldo Neo.</div>")
|
| 65 |
def respond(message, chat_history, thread_id=None):
|
| 66 |
if thread_id is None:
|
| 67 |
thread_id = state.value
|