Spaces:
Running
Running
Commit
·
1089c2c
1
Parent(s):
8d0f449
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,6 @@ def generate(
|
|
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,)
|
45 |
|
@@ -48,7 +46,6 @@ demo = gr.ChatInterface(fn=generate,
|
|
48 |
title="Elisa AI",
|
49 |
retry_btn=None,
|
50 |
undo_btn=None,
|
51 |
-
html=custom_html,
|
52 |
css="body { background-color: inherit; }"
|
53 |
"#component-2 {display: none;}"
|
54 |
"div#component-0 { height: auto !important;}"
|
|
|
38 |
yield output
|
39 |
return output
|
40 |
|
|
|
|
|
41 |
mychatbot = gr.Chatbot(
|
42 |
avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
|
43 |
|
|
|
46 |
title="Elisa AI",
|
47 |
retry_btn=None,
|
48 |
undo_btn=None,
|
|
|
49 |
css="body { background-color: inherit; }"
|
50 |
"#component-2 {display: none;}"
|
51 |
"div#component-0 { height: auto !important;}"
|