Spaces:
Runtime error
Runtime error
NCTCMumbai
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -102,6 +102,13 @@ def bot(history, cross_encoder):
|
|
102 |
|
103 |
|
104 |
with gr.Blocks(theme='Insuz/SimpleIndigo') as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
chatbot = gr.Chatbot(
|
106 |
[],
|
107 |
elem_id="chatbot",
|
|
|
102 |
|
103 |
|
104 |
with gr.Blocks(theme='Insuz/SimpleIndigo') as demo:
|
105 |
+
gr.HTML(value="""<div style="display: flex; align-items: center; justify-content: space-between;">
|
106 |
+
<h1 style="color: #008000">ADWITIYA - <span style="color: #008000">Expenditure Observer AI Assistant</span></h1>
|
107 |
+
<img src='logo.png' alt="Chatbot" width="50" height="50" />
|
108 |
+
</div>""",element='heading')
|
109 |
+
gr.HTML(value="""<p style="font-family: sans-serif; font-size: 16px;">A free chat bot assistant for Expenditure Observers on Compendium on Election Expenditure Monitoring using Open source LLMs. <br> The bot can answer questions in natural language, taking relevant extracts from the ECI document which can be accessed <a href="https://www.eci.gov.in/eci-backend/public/api/download?url=LMAhAK6sOPBp%2FNFF0iRfXbEB1EVSLT41NNLRjYNJJP1KivrUxbfqkDatmHy12e%2Fzk1vx4ptJpQsKYHA87guoLjnPUWtHeZgKtEqs%2FyzfTTYIC0newOHHOjl1rl0u3mJBSIq%2Fi7zDsrcP74v%2FKr8UNw%3D%3D" style="color: #008000; text-decoration: none;">here</a>.</p>""")
|
110 |
+
|
111 |
+
|
112 |
chatbot = gr.Chatbot(
|
113 |
[],
|
114 |
elem_id="chatbot",
|