Riswan-Nopiyar commited on
Commit
91afb60
·
verified ·
1 Parent(s): 225675b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -5,7 +5,12 @@ fig = random_plot()
5
 
6
  # Membuat antarmuka Gradio
7
  with gr.Blocks(fill_height=True, css="footer {visibility: hidden}") as demo:
8
- chatbot = gr.ChatInterface( fn=echo, examples=[{"text": "hello"}, {"text": "hola"}, {"text": "merhaba"}], title="Chat Bot", multimodal=True, )
 
 
 
 
 
9
 
10
  chat_input = gr.Textbox(interactive=True,
11
  placeholder="Masukkan pesan...", show_label=False)
 
5
 
6
  # Membuat antarmuka Gradio
7
  with gr.Blocks(fill_height=True, css="footer {visibility: hidden}") as demo:
8
+ gr.HTML("<h2>Chatbot with Dark Mode</h2>")
9
+ chatbot = gr.Chatbot(
10
+ elem_id="chatbot",
11
+ bubble_full_width=False,
12
+ scale=1,
13
+ )
14
 
15
  chat_input = gr.Textbox(interactive=True,
16
  placeholder="Masukkan pesan...", show_label=False)