david-oplatka commited on
Commit
ce7b24c
·
verified ·
1 Parent(s): dc86603

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -46,19 +46,20 @@ cfg.description = f'''<center> <h2>{cfg.description}</h2>
46
  This demo uses Retrieval Augmented Generation to ask questions about {cfg.source_data_desc}</center>'''
47
 
48
  custom_css = """
49
- #component-0 {
50
  position: relative;
51
  }
52
- #component-0::before {
53
  content: "";
54
  position: absolute;
55
- top: 10px;
56
- left: 10px;
57
- width: 100px;
58
- height: 50px;
59
  background-image: url('https://github.com/david-oplatka/chatbot-streamlit/blob/main/Vectara-logo.png');
60
  background-size: contain;
61
  background-repeat: no-repeat;
 
62
  }
63
  """
64
 
 
46
  This demo uses Retrieval Augmented Generation to ask questions about {cfg.source_data_desc}</center>'''
47
 
48
  custom_css = """
49
+ .gradio-container {
50
  position: relative;
51
  }
52
+ .gradio-container::before {
53
  content: "";
54
  position: absolute;
55
+ top: 0;
56
+ left: 0;
57
+ width: 150px;
58
+ height: 75px;
59
  background-image: url('https://github.com/david-oplatka/chatbot-streamlit/blob/main/Vectara-logo.png');
60
  background-size: contain;
61
  background-repeat: no-repeat;
62
+ z-index: 1000;
63
  }
64
  """
65