Update app.py
Browse files
app.py
CHANGED
@@ -66,11 +66,11 @@ with gr.Blocks() as demo:
|
|
66 |
gr.HTML("<center><h1>Tomoniai's Gemini-PRO Chat</h1></center>")
|
67 |
|
68 |
# Initialize the MultimodalChatbot component
|
69 |
-
multi = MultimodalChatbot(value=[], height=500,bubble_full_width=False)
|
70 |
|
71 |
with gr.Row():
|
72 |
# Textbox for user input with increased scale for better visibility
|
73 |
-
tb = gr.Textbox(scale=4)
|
74 |
|
75 |
# Upload button for image files
|
76 |
up = gr.UploadButton("Upload Image", file_types=["image"], scale=1)
|
|
|
66 |
gr.HTML("<center><h1>Tomoniai's Gemini-PRO Chat</h1></center>")
|
67 |
|
68 |
# Initialize the MultimodalChatbot component
|
69 |
+
multi = MultimodalChatbot(value=[], height=500, avatar_images=["./user.png", "./botg.png"], show_label=False, bubble_full_width=False, show_copy_button=True, likeable=True)
|
70 |
|
71 |
with gr.Row():
|
72 |
# Textbox for user input with increased scale for better visibility
|
73 |
+
tb = gr.Textbox(show_label=False, scale=4)
|
74 |
|
75 |
# Upload button for image files
|
76 |
up = gr.UploadButton("Upload Image", file_types=["image"], scale=1)
|