Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from huggingface_hub import InferenceClient
|
|
4 |
"""
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
6 |
"""
|
|
|
7 |
client = InferenceClient("Solshine/reflection-llama-3.1-8B-Natural-Farmer-3-16bit", token=HUG_TOKEN)
|
8 |
|
9 |
|
|
|
4 |
"""
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
6 |
"""
|
7 |
+
api_key = os.getenv("HUG_TOKEN")
|
8 |
client = InferenceClient("Solshine/reflection-llama-3.1-8B-Natural-Farmer-3-16bit", token=HUG_TOKEN)
|
9 |
|
10 |
|