Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,16 +38,21 @@ def respond(message, history):
|
|
38 |
response = vq.submit_query(message)
|
39 |
yield response
|
40 |
|
41 |
-
cfg.title = f'''<
|
|
|
42 |
img {{
|
43 |
-
width:
|
44 |
}}
|
|
|
|
|
|
|
45 |
</style>
|
|
|
46 |
<table>
|
47 |
<tr>
|
48 |
<td> <img src="https://github.com/david-oplatka/chatbot-streamlit/blob/main/Vectara-logo.png?raw=true"> </td>
|
49 |
<td> <h1>{cfg.title}</h1> </td>
|
50 |
-
<td>
|
51 |
</tr>
|
52 |
</table>
|
53 |
'''
|
|
|
38 |
response = vq.submit_query(message)
|
39 |
yield response
|
40 |
|
41 |
+
cfg.title = f'''<head>
|
42 |
+
<style>
|
43 |
img {{
|
44 |
+
width: 40%;
|
45 |
}}
|
46 |
+
table, td {{
|
47 |
+
border: none;
|
48 |
+
}}
|
49 |
</style>
|
50 |
+
</head>
|
51 |
<table>
|
52 |
<tr>
|
53 |
<td> <img src="https://github.com/david-oplatka/chatbot-streamlit/blob/main/Vectara-logo.png?raw=true"> </td>
|
54 |
<td> <h1>{cfg.title}</h1> </td>
|
55 |
+
<td> <body>This demo uses Retrieval Augmented Generation to ask questions about {cfg.source_data_desc}</body> </td>
|
56 |
</tr>
|
57 |
</table>
|
58 |
'''
|