Spaces:
Sleeping
Sleeping
robertselvam
commited on
Commit
•
e859d15
1
Parent(s):
85b13fd
Update app.py
Browse files
app.py
CHANGED
@@ -251,14 +251,15 @@ class ChatDocumentQA:
|
|
251 |
def gradio_interface(self) -> None:
|
252 |
"""Create a Gradio interface for the chatbot."""
|
253 |
with gr.Blocks(css = "style.css" ,theme="snehilsanyal/scikit-learn") as demo:
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
|
260 |
state = gr.State(self._get_empty_state())
|
261 |
chatbot = gr.Chatbot()
|
|
|
262 |
with gr.Row():
|
263 |
with gr.Column(scale=0.85):
|
264 |
msg = gr.Textbox(label="Question")
|
|
|
251 |
def gradio_interface(self) -> None:
|
252 |
"""Create a Gradio interface for the chatbot."""
|
253 |
with gr.Blocks(css = "style.css" ,theme="snehilsanyal/scikit-learn") as demo:
|
254 |
+
with gr.Row():
|
255 |
+
gr.HTML("""<center><img src="https://hakunamatatatech.com/wp-content/uploads/2019/06/logohms-160x34.png" alt="Image"></center>""")
|
256 |
+
with gr.Row():
|
257 |
+
gr.HTML("""<center class="darkblue" text-align:center;padding:30px;'><center>
|
258 |
+
<br><center><h1 style="color:#fff">Virtual Assistant Chatbot</h1></center>""")
|
259 |
|
260 |
state = gr.State(self._get_empty_state())
|
261 |
chatbot = gr.Chatbot()
|
262 |
+
|
263 |
with gr.Row():
|
264 |
with gr.Column(scale=0.85):
|
265 |
msg = gr.Textbox(label="Question")
|