david-oplatka commited on
Commit
c88c382
·
verified ·
1 Parent(s): 485be65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -42,8 +42,11 @@ def respond(message, history):
42
 
43
  cfg.title = f'''<h1 style="text-align: center;">{cfg.title}</h1>'''
44
 
45
- cfg.description = f'''<h2 style="text-align: center;">{cfg.description}</h2>
46
- This demo uses Retrieval Augmented Generation to ask questions about {cfg.source_data_desc}'''
 
 
 
47
 
48
  demo = gr.ChatInterface(respond, title = cfg.title, description = cfg.description, chatbot = gr.Chatbot(value = [[None, "How may I help you?"]], scale=3))
49
 
 
42
 
43
  cfg.title = f'''<h1 style="text-align: center;">{cfg.title}</h1>'''
44
 
45
+ # cfg.description = f'''<h2 style="text-align: center;">{cfg.description}</h2>
46
+ # This demo uses Retrieval Augmented Generation to ask questions about {cfg.source_data_desc}'''
47
+
48
+ cfg.description = f'''<center> <h2">{cfg.description}</h2>
49
+ This demo uses Retrieval Augmented Generation to ask questions about {cfg.source_data_desc}</center>'''
50
 
51
  demo = gr.ChatInterface(respond, title = cfg.title, description = cfg.description, chatbot = gr.Chatbot(value = [[None, "How may I help you?"]], scale=3))
52