Update app.py
Browse files
app.py
CHANGED
@@ -4,12 +4,9 @@ from functions import random_plot, add_message, chat_mem, print_like_dislike
|
|
4 |
fig = random_plot()
|
5 |
|
6 |
# Membuat antarmuka Gradio
|
7 |
-
with gr.Blocks(fill_height=True,
|
8 |
-
chatbot = gr.
|
9 |
-
|
10 |
-
bubble_full_width=False,
|
11 |
-
scale=1,
|
12 |
-
)
|
13 |
chat_input = gr.Textbox(interactive=True,
|
14 |
placeholder="Masukkan pesan...", show_label=False)
|
15 |
|
|
|
4 |
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)
|
12 |
|