amina-k commited on
Commit
852f2de
·
verified ·
1 Parent(s): a2b26b3
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -22,8 +22,13 @@ def get_relevant_context(query, top_k=3):
22
  top_k_indices = torch.topk(similarities, k=top_k).indices.cpu().numpy()
23
  return "\n\n".join([chunks[i] for i in top_k_indices])
24
 
25
- custom_theme = gr.theme.Soft(
26
-
 
 
 
 
 
27
  )
28
 
29
  client = InferenceClient("google/gemma-2-2b-it")
 
22
  top_k_indices = torch.topk(similarities, k=top_k).indices.cpu().numpy()
23
  return "\n\n".join([chunks[i] for i in top_k_indices])
24
 
25
+ custom_theme = gr.themes.Soft(
26
+ primary_hue="teal",
27
+ secondary_hue="stone",
28
+ neutral_hue="teal",
29
+ spacing_size="lg",
30
+ radius_size="lg",
31
+ text_size="lg"
32
  )
33
 
34
  client = InferenceClient("google/gemma-2-2b-it")