Update app.py
Browse files
app.py
CHANGED
@@ -7,10 +7,12 @@ fig = random_plot()
|
|
7 |
with gr.Blocks(fill_height=True, css="footer {visibility: hidden}") as demo:
|
8 |
gr.HTML("<div style='text-align: center;'><h2>Chat bot Nopiyar.my.id</h2></div>") # Menambahkan judul di sini dengan CSS untuk memposisikan di tengah
|
9 |
chatbot = gr.Chatbot(
|
10 |
-
|
|
|
|
|
11 |
bubble_full_width=False,
|
12 |
scale=1,
|
13 |
-
avatar_images=(None, "https://
|
14 |
)
|
15 |
|
16 |
chat_input = gr.Textbox(interactive=True,
|
|
|
7 |
with gr.Blocks(fill_height=True, css="footer {visibility: hidden}") as demo:
|
8 |
gr.HTML("<div style='text-align: center;'><h2>Chat bot Nopiyar.my.id</h2></div>") # Menambahkan judul di sini dengan CSS untuk memposisikan di tengah
|
9 |
chatbot = gr.Chatbot(
|
10 |
+
label="NPR",
|
11 |
+
msg_format="messages",
|
12 |
+
elem_id="chatbot",
|
13 |
bubble_full_width=False,
|
14 |
scale=1,
|
15 |
+
avatar_images=(None, "https://iili.io/d5tk44a.md.png")
|
16 |
)
|
17 |
|
18 |
chat_input = gr.Textbox(interactive=True,
|