Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,10 +42,10 @@ def respond(message, history):
|
|
| 42 |
response = vq.submit_query(message)
|
| 43 |
yield response
|
| 44 |
|
| 45 |
-
cfg.description = f'''<h1 style="text-align: center;">{cfg.description}</h1>'''
|
| 46 |
-
|
| 47 |
cfg.title = f'''<h1 style="text-align: center;">{cfg.title}</h1>'''
|
| 48 |
|
|
|
|
|
|
|
| 49 |
demo = gr.ChatInterface(respond, title = cfg.title, description = cfg.description, chatbot = gr.Chatbot(value = [[None, "How may I help you?"]]))
|
| 50 |
|
| 51 |
if __name__ == "__main__":
|
|
|
|
| 42 |
response = vq.submit_query(message)
|
| 43 |
yield response
|
| 44 |
|
|
|
|
|
|
|
| 45 |
cfg.title = f'''<h1 style="text-align: center;">{cfg.title}</h1>'''
|
| 46 |
|
| 47 |
+
cfg.description = f'''<h2 style="text-align: center;">{cfg.description}</h2>'''
|
| 48 |
+
|
| 49 |
demo = gr.ChatInterface(respond, title = cfg.title, description = cfg.description, chatbot = gr.Chatbot(value = [[None, "How may I help you?"]]))
|
| 50 |
|
| 51 |
if __name__ == "__main__":
|