Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ async def favicon():
|
|
70 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|
71 |
|
72 |
templates = Jinja2Templates(directory="static")
|
73 |
-
Configure Llama index settings
|
74 |
Settings.llm = HuggingFaceInferenceAPI(
|
75 |
model_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
76 |
tokenizer_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
|
|
70 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|
71 |
|
72 |
templates = Jinja2Templates(directory="static")
|
73 |
+
# Configure Llama index settings
|
74 |
Settings.llm = HuggingFaceInferenceAPI(
|
75 |
model_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
76 |
tokenizer_name="meta-llama/Meta-Llama-3-8B-Instruct",
|