RadRuss commited on
Commit
c8f5917
·
verified ·
1 Parent(s): 85772cd

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -4
app.py CHANGED
@@ -477,11 +477,28 @@ my_theme = gr.themes.Soft(
477
 
478
  with gr.Blocks(theme=my_theme) as iface:
479
  gr.HTML("""
480
- <div style='display:flex; align-items:center; gap:15px;'>
481
- <img src='https://images.squarespace-cdn.com/content/v1/62835c73f824d0627cfba7a7/093df9f4-89e4-48f9-8359-2096efe5b65a/Logo_bp_experts_2019.png' style='height:60px;'>
482
- <h2 style='margin:0;'>Business Flows Assistant</h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
483
  </div>
484
- """)
485
  # Use gr.Chatbot with type='messages' to handle history in OpenAI message format
486
  chatbot = gr.Chatbot(label="Process Assistant Chatbot", type='messages')
487
  msg = gr.Textbox(label="Ask a question about business processes.")
 
477
 
478
  with gr.Blocks(theme=my_theme) as iface:
479
  gr.HTML("""
480
+ <div style="
481
+ display:flex;
482
+ align-items:center;
483
+ gap:20px;
484
+ padding:15px 0;
485
+ ">
486
+ <a href="https://www.bpexperts.de" target="_blank" style="text-decoration:none;">
487
+ <img src='https://images.squarespace-cdn.com/content/v1/62835c73f824d0627cfba7a7/093df9f4-89e4-48f9-8359-2096efe5b65a/Logo_bp_experts_2019.png'
488
+ alt="bpExperts Logo"
489
+ style="height:70px; object-fit:contain;">
490
+ </a>
491
+
492
+ <h1 style="
493
+ color:#ffffff;
494
+ margin:0;
495
+ font-weight:600;
496
+ font-size:32px;
497
+ ">
498
+ Business Flows Assistant
499
+ </h1>
500
  </div>
501
+ """
502
  # Use gr.Chatbot with type='messages' to handle history in OpenAI message format
503
  chatbot = gr.Chatbot(label="Process Assistant Chatbot", type='messages')
504
  msg = gr.Textbox(label="Ask a question about business processes.")