Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ _useragent_list = [
|
|
| 18 |
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36",
|
| 19 |
]
|
| 20 |
|
| 21 |
-
API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-
|
| 22 |
headers = {"Authorization": f"Bearer {os.getenv('HUGGINGFACE_TOKEN')}"}
|
| 23 |
|
| 24 |
def query_llama(payload):
|
|
|
|
| 18 |
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36",
|
| 19 |
]
|
| 20 |
|
| 21 |
+
API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-8B-Instruct"
|
| 22 |
headers = {"Authorization": f"Bearer {os.getenv('HUGGINGFACE_TOKEN')}"}
|
| 23 |
|
| 24 |
def query_llama(payload):
|