Commit
·
8d0f449
1
Parent(s):
0aef7de
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def generate(
|
|
| 38 |
yield output
|
| 39 |
return output
|
| 40 |
|
| 41 |
-
custom_html =
|
| 42 |
|
| 43 |
mychatbot = gr.Chatbot(
|
| 44 |
avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
|
|
|
|
| 38 |
yield output
|
| 39 |
return output
|
| 40 |
|
| 41 |
+
custom_html = ""<div style="background-color: white; padding: 10px; text-align: center;"><h2>Custom HTML Content</h2><p>This is an example of adding custom HTML content to the Gradio interface.</p></div>""
|
| 42 |
|
| 43 |
mychatbot = gr.Chatbot(
|
| 44 |
avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
|