Spaces:
Paused
Paused
Shreyas094
commited on
Update app.py
Browse files
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-
|
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 = {
|