jbbove commited on
Commit
62c893d
·
verified ·
1 Parent(s): f8ededc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -8,9 +8,7 @@ from tools.final_answer import FinalAnswerTool
8
  from Gradio_UI import GradioUI
9
 
10
  API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
11
- headers = {
12
- "Authorization": f"Bearer {os.environ['HF_TOKEN']}",
13
- }
14
 
15
  @tool
16
  def extract_knowledge_graph(text: str) -> str:
 
8
  from Gradio_UI import GradioUI
9
 
10
  API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
11
+ headers = {"Authorization": "Bearer HF_TOKEN"}
 
 
12
 
13
  @tool
14
  def extract_knowledge_graph(text: str) -> str: