Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ from huggingface_hub import InferenceClient
|
|
5 |
"""
|
6 |
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
|
7 |
"""
|
8 |
-
|
9 |
-
client = InferenceClient("Solshine/reflection-llama-3.1-8B-Natural-Farmer-3-16bit", token=
|
10 |
|
11 |
|
12 |
def respond(
|
|
|
5 |
"""
|
6 |
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
|
7 |
"""
|
8 |
+
HUGGY_TOKEN = os.getenv("HUG_TOKEN")
|
9 |
+
client = InferenceClient("Solshine/reflection-llama-3.1-8B-Natural-Farmer-3-16bit", token=HUGGY_TOKEN)
|
10 |
|
11 |
|
12 |
def respond(
|