Spaces:
Sleeping
Sleeping
itacaiunas
commited on
Commit
•
2edf16f
1
Parent(s):
b74ab51
Update app.py
Browse files
app.py
CHANGED
@@ -71,14 +71,14 @@ def test_preview_chatbot(message, history):
|
|
71 |
|
72 |
|
73 |
welcome_preview_message = f"""
|
74 |
-
Bem vindo ao **{TITLE}**
|
75 |
-
"{EXAMPLE_INPUT}"
|
76 |
"""
|
77 |
|
78 |
chatbot_preview = gr.Chatbot(layout="panel", value=[(None, welcome_preview_message)],
|
79 |
avatar_images=["./user.png", "./botz.png"], bubble_full_width=False, show_label=False, show_copy_button=False,)
|
80 |
|
81 |
-
textbox_preview = gr.Textbox(scale=7, container=False, lines=
|
82 |
|
83 |
demo = gr.ChatInterface(test_preview_chatbot, chatbot=chatbot_preview, textbox=textbox_preview, submit_btn='Perguntar', retry_btn=None, clear_btn=None, undo_btn=None)
|
84 |
|
|
|
71 |
|
72 |
|
73 |
welcome_preview_message = f"""
|
74 |
+
Bem vindo ao **{TITLE}** Pergunte-me algo como:
|
75 |
+
**"{EXAMPLE_INPUT}"**
|
76 |
"""
|
77 |
|
78 |
chatbot_preview = gr.Chatbot(layout="panel", value=[(None, welcome_preview_message)],
|
79 |
avatar_images=["./user.png", "./botz.png"], bubble_full_width=False, show_label=False, show_copy_button=False,)
|
80 |
|
81 |
+
textbox_preview = gr.Textbox(scale=7, container=False, lines=4, value=EXAMPLE_INPUT)
|
82 |
|
83 |
demo = gr.ChatInterface(test_preview_chatbot, chatbot=chatbot_preview, textbox=textbox_preview, submit_btn='Perguntar', retry_btn=None, clear_btn=None, undo_btn=None)
|
84 |
|