david-oplatka commited on
Commit
fe53452
·
verified ·
1 Parent(s): 1e6a923

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -4
app.py CHANGED
@@ -38,15 +38,25 @@ def respond(message, history):
38
  yield response
39
 
40
 
 
 
 
 
 
 
 
 
 
 
 
41
  cfg.description = f'''
42
  <table>
43
  <tr>
44
- <td style="width: 33%; vertical-align: top;"> <img src="https://github.com/david-oplatka/chatbot-streamlit/blob/main/Vectara-logo.png?raw=true"> </td>
45
- <td style="width: 34%; vertical-align: middle;"> <h1>{cfg.title}</h1> </td>
46
- <td style="width: 33%; vertical-align: bottom; text-align: left"> This demo uses Retrieval Augmented Generation from <a href="https://vectara.com/">Vectara</a><br>to ask questions about {cfg.source_data_desc}. </td>
47
  </tr>
48
  </table>
49
- <center> <h2>{cfg.description}</h2></center>
50
  '''
51
 
52
  css = """
 
38
  yield response
39
 
40
 
41
+ # cfg.description = f'''
42
+ # <table>
43
+ # <tr>
44
+ # <td style="width: 33%; vertical-align: top;"> <img src="https://github.com/david-oplatka/chatbot-streamlit/blob/main/Vectara-logo.png?raw=true"> </td>
45
+ # <td style="width: 34%; vertical-align: middle;"> <h1>{cfg.title}</h1> </td>
46
+ # <td style="width: 33%; vertical-align: bottom; text-align: left"> This demo uses Retrieval Augmented Generation from <a href="https://vectara.com/">Vectara</a><br>to ask questions about {cfg.source_data_desc}. </td>
47
+ # </tr>
48
+ # </table>
49
+ # <center> <h2>{cfg.description}</h2></center>
50
+ # '''
51
+
52
  cfg.description = f'''
53
  <table>
54
  <tr>
55
+ <td style="width: 34%; vertical-align: middle; align: left"> <h1>{cfg.title}</h1> </td>
56
+ <td style="width: 33%; vertical-align: top; align: right"> <img src="https://github.com/david-oplatka/chatbot-streamlit/blob/main/Vectara-logo.png?raw=true"> </td>
 
57
  </tr>
58
  </table>
59
+ This demo uses Retrieval Augmented Generation from <a href="https://vectara.com/">Vectara</a><br>to ask questions about {cfg.source_data_desc}.
60
  '''
61
 
62
  css = """