rameshmoorthy commited on
Commit
7f4eca1
1 Parent(s): c6ab63a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -13,13 +13,14 @@ import gradio as gr
13
  from jinja2 import Environment, FileSystemLoader
14
  import numpy as np
15
  from sentence_transformers import CrossEncoder
 
 
16
 
17
  from backend.query_llm import generate_hf, generate_openai
18
  from backend.semantic_search import table, retriever
19
  from huggingface_hub import InferenceClient
20
 
21
- client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1",token='HUB_TOKEN')
22
-
23
  VECTOR_COLUMN_NAME = "vector"
24
  TEXT_COLUMN_NAME = "text"
25
 
 
13
  from jinja2 import Environment, FileSystemLoader
14
  import numpy as np
15
  from sentence_transformers import CrossEncoder
16
+ from huggingface_hub import InferenceClient
17
+
18
 
19
  from backend.query_llm import generate_hf, generate_openai
20
  from backend.semantic_search import table, retriever
21
  from huggingface_hub import InferenceClient
22
 
23
+ client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1",token='HUGGING_FACE_HUB_TOKEN')
 
24
  VECTOR_COLUMN_NAME = "vector"
25
  TEXT_COLUMN_NAME = "text"
26