Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ from huggingface_hub import login, InferenceClient
|
|
| 20 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 21 |
llm = HuggingFaceEndpoint(
|
| 22 |
repo_id="google/gemma-7b",
|
| 23 |
-
huggingfacehub_api_token=os.getenv("
|
| 24 |
)
|
| 25 |
print("Loading LLM...")
|
| 26 |
|
|
|
|
| 20 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 21 |
llm = HuggingFaceEndpoint(
|
| 22 |
repo_id="google/gemma-7b",
|
| 23 |
+
huggingfacehub_api_token=os.getenv("HF_TOKEN"),
|
| 24 |
)
|
| 25 |
print("Loading LLM...")
|
| 26 |
|