david-oplatka commited on
Commit
64eaa46
·
verified ·
1 Parent(s): f539c03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
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'''<style>
 
42
  img {{
43
- width: 60%;
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> 'This demo uses Retrieval Augmented Generation to ask questions about {cfg.source_data_desc}' </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
  '''