File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import os
66import time
77
8+
9+
810# App title
911if 'page_config_set' not in st .session_state :
1012 st .set_page_config (page_title = "RTDIP Pipeline Chatbot" )
1113 st .session_state ['page_config_set' ] = True
12- # Use HTML/CSS to position the title at the top left
14+
15+ # Use HTML/CSS to position the title and GitHub link on the same line
1316st .markdown (
1417 '''
15- <style>
16- .title {
17- margin-top: -70px;
18- margin-left: -180px;
19- }
20- </style>
21- <div class="title"><h2>RTDIP Pipeline Chatbot</h2></div>
22- ''' ,unsafe_allow_html = True )
23- #st.title('RTDIP Pipeline Chatbot')
24- # Git repository link (replace with your repository URL)
25- git_repo_link = "[](https://github.com/rtdip/core/tree/develop)"
26- st .markdown (git_repo_link , unsafe_allow_html = True )
18+ <div style="display: flex; justify-content: space-between; align-items: center;">
19+ <div style="margin-top: -70px; margin-left: -180px;"><h2>RTDIP Pipeline Chatbot</h2></div>
20+ <div style="margin-top: -70px; "><a href="https://github.com/rtdip/core/tree/develop"><img src="https://img.shields.io/badge/GitHub-Repo-blue?logo=github"></a></div>
21+ </div>
22+ ''' , unsafe_allow_html = True )
2723
2824
2925# Replicate Credentials
You can’t perform that action at this time.
0 commit comments