Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,17 @@ custom_css = """
|
|
61 |
.gradio-title {
|
62 |
color: #EF4040;
|
63 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
"""
|
|
|
65 |
demo = gr.ChatInterface(
|
66 |
respond,
|
67 |
title="Djezzy Chatbot",
|
@@ -80,6 +90,7 @@ demo = gr.ChatInterface(
|
|
80 |
label="Top-p (nucleus sampling)",
|
81 |
),
|
82 |
],
|
|
|
83 |
|
84 |
)
|
85 |
|
|
|
61 |
.gradio-title {
|
62 |
color: #EF4040;
|
63 |
}
|
64 |
+
.gradio-app-header {
|
65 |
+
display: flex;
|
66 |
+
align-items: center;
|
67 |
+
}
|
68 |
+
.gradio-app-header img {
|
69 |
+
width: 100px; /* Adjust width as needed */
|
70 |
+
height: auto; /* Maintain aspect ratio */
|
71 |
+
margin-right: 10px;
|
72 |
+
}
|
73 |
"""
|
74 |
+
logo_path = "djezzy-logo-A1B6F6E26F-seeklogo.com.png"
|
75 |
demo = gr.ChatInterface(
|
76 |
respond,
|
77 |
title="Djezzy Chatbot",
|
|
|
90 |
label="Top-p (nucleus sampling)",
|
91 |
),
|
92 |
],
|
93 |
+
elem_header=[gr.HTML(f"<img src='{logo_path}' alt='Djezzy Logo'>")],
|
94 |
|
95 |
)
|
96 |
|