Riswan-Nopiyar commited on
Commit
cdf2804
·
verified ·
1 Parent(s): d3b22ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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
- elem_id="chat bot",
 
 
11
  bubble_full_width=False,
12
  scale=1,
13
- avatar_images=(None, "https://em-content.zobj.net/source/twitter/53/robot-face_1f916.png")
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,