srinuksv commited on
Commit
0f1eb98
1 Parent(s): eba0498

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ class MessageRequest(BaseModel):
23
  repo_id = "meta-llama/Meta-Llama-3-8B-Instruct"
24
  llm_client = InferenceClient(
25
  model=repo_id,
26
- token=userdata.get('HF_TOKEN'),
27
  )
28
  def summarize_conversation(inference_client: InferenceClient, history: list):
29
  # Construct the full prompt with history
 
23
  repo_id = "meta-llama/Meta-Llama-3-8B-Instruct"
24
  llm_client = InferenceClient(
25
  model=repo_id,
26
+ token=os.getenv("HF_TOKEN"),
27
  )
28
  def summarize_conversation(inference_client: InferenceClient, history: list):
29
  # Construct the full prompt with history