Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,9 +13,10 @@ load_dotenv()
|
|
13 |
# Initialize the LLM and parser
|
14 |
llm = HuggingFaceInferenceAPI(
|
15 |
# model_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
16 |
-
model_name="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
|
|
17 |
token=os.getenv("TOKEN"),
|
18 |
-
model_config
|
19 |
)
|
20 |
|
21 |
parser = LlamaParse(api_key=os.getenv("LLAMA_INDEX_API"), result_type='markdown')
|
|
|
13 |
# Initialize the LLM and parser
|
14 |
llm = HuggingFaceInferenceAPI(
|
15 |
# model_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
16 |
+
# model_name="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
17 |
+
model_name="nvidia/Llama3-ChatQA-1.5-70B",
|
18 |
token=os.getenv("TOKEN"),
|
19 |
+
model_config['protected_namespaces'] = ()
|
20 |
)
|
21 |
|
22 |
parser = LlamaParse(api_key=os.getenv("LLAMA_INDEX_API"), result_type='markdown')
|