Update app.py
Browse files10 unmodified lines1112131415161710 unmodified linesHUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")def summarize_text(text, instructions):API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-2-7b-chat-hf"headers = {"Authorization": f"Bearer {HUGGINGFACE_TOKEN}"}payload = {10 unmodified lines1112131415161710 unmodified linesHUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")def summarize_text(text, instructions):API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-8B-Instruct"headers = {"Authorization": f"Bearer {HUGGINGFACE_TOKEN}"}payload = {
app.py+1-1