YashB1 commited on
Commit
3eacb93
·
verified ·
1 Parent(s): 9b22b06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -1
app.py CHANGED
@@ -21,6 +21,7 @@ shape_file = os.getenv("SHAPE_FILE")
21
 
22
  self_path = os.path.dirname(os.path.abspath(__file__))
23
 
 
24
  # Using HTML and CSS to center the title
25
  st.write(
26
  """
@@ -55,7 +56,20 @@ st.markdown("<div style='text-align:center;'>Choose a query from <b>Select a pro
55
  # inference_server = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
56
  # inference_server = "https://api-inference.huggingface.co/models/codellama/CodeLlama-13b-hf"
57
  # inference_server = "https://api-inference.huggingface.co/models/pandasai/bamboo-llm"
58
-
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
  image_path = "IITGN_Logo.png"
61
 
 
21
 
22
  self_path = os.path.dirname(os.path.abspath(__file__))
23
 
24
+
25
  # Using HTML and CSS to center the title
26
  st.write(
27
  """
 
56
  # inference_server = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
57
  # inference_server = "https://api-inference.huggingface.co/models/codellama/CodeLlama-13b-hf"
58
  # inference_server = "https://api-inference.huggingface.co/models/pandasai/bamboo-llm"
59
+ st.markdown(
60
+ """
61
+ <style>
62
+ .sidebar .sidebar-content {
63
+ position: sticky;
64
+ top: 0;
65
+ height: 100vh;
66
+ overflow-y: auto;
67
+ overflow-x: hidden;
68
+ }
69
+ </style>
70
+ """,
71
+ unsafe_allow_html=True
72
+ )
73
 
74
  image_path = "IITGN_Logo.png"
75