Shreyas094 commited on
Commit
05ba9f1
1 Parent(s): b432dd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ load_dotenv()
11
  HUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
12
 
13
  def summarize_text(text, instructions):
14
- API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-2-7b-chat-hf"
15
  headers = {"Authorization": f"Bearer {HUGGINGFACE_TOKEN}"}
16
 
17
  payload = {
 
11
  HUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
12
 
13
  def summarize_text(text, instructions):
14
+ API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-8B-Instruct"
15
  headers = {"Authorization": f"Bearer {HUGGINGFACE_TOKEN}"}
16
 
17
  payload = {