timeki commited on
Commit
a973186
β€’
1 Parent(s): c82096e

bugfix scroll

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. style.css +4 -1
app.py CHANGED
@@ -91,7 +91,7 @@ user_id = create_user_id()
91
  # Create vectorstore and retriever
92
  vectorstore = get_pinecone_vectorstore(embeddings_function)
93
  llm = get_llm(provider="openai",max_tokens = 1024,temperature = 0.0)
94
- reranker = get_reranker("large")
95
  agent = make_graph_agent(llm,vectorstore,reranker)
96
 
97
 
@@ -135,7 +135,7 @@ async def chat(query,history,audience,sources,reports):
135
  output_keywords = ""
136
  gallery = []
137
  start_streaming = False
138
- figures = '<div class="figures-container"> </div>'
139
 
140
  steps_display = {
141
  "categorize_intent":("πŸ”„οΈ Analyzing user message",True),
 
91
  # Create vectorstore and retriever
92
  vectorstore = get_pinecone_vectorstore(embeddings_function)
93
  llm = get_llm(provider="openai",max_tokens = 1024,temperature = 0.0)
94
+ reranker = get_reranker("nano")
95
  agent = make_graph_agent(llm,vectorstore,reranker)
96
 
97
 
 
135
  output_keywords = ""
136
  gallery = []
137
  start_streaming = False
138
+ figures = '<div class="figures-container"><p></p> </div>'
139
 
140
  steps_display = {
141
  "categorize_intent":("πŸ”„οΈ Analyzing user message",True),
style.css CHANGED
@@ -226,21 +226,24 @@ label.selected{
226
 
227
  div#tab-examples{
228
  height:calc(100vh - 190px) !important;
 
229
  /* overflow-y: auto; */
230
  }
231
 
232
  div#sources-textbox{
233
  height:calc(100vh - 190px) !important;
 
234
  /* overflow-y: auto !important; */
235
  }
236
 
237
  div#sources-figures{
238
  height:calc(100vh - 190px) !important;
239
- /* overflow-y: auto !important; */
240
  }
241
 
242
  div#tab-config{
243
  height:calc(100vh - 190px) !important;
 
244
  /* overflow-y: auto !important; */
245
  }
246
 
 
226
 
227
  div#tab-examples{
228
  height:calc(100vh - 190px) !important;
229
+ overflow-y: scroll !important;
230
  /* overflow-y: auto; */
231
  }
232
 
233
  div#sources-textbox{
234
  height:calc(100vh - 190px) !important;
235
+ overflow-y: scroll !important;
236
  /* overflow-y: auto !important; */
237
  }
238
 
239
  div#sources-figures{
240
  height:calc(100vh - 190px) !important;
241
+ overflow-y: scroll !important;
242
  }
243
 
244
  div#tab-config{
245
  height:calc(100vh - 190px) !important;
246
+ overflow-y: scroll !important;
247
  /* overflow-y: auto !important; */
248
  }
249