Update app.py
Browse files
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=
|
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
|