M17idd commited on
Commit
7ab91d0
·
verified ·
1 Parent(s): a0f7add

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -98,10 +98,10 @@ def get_pdf_index():
98
 
99
  index = get_pdf_index()
100
 
101
-
102
- llm = HuggingFaceHub(
103
- repo_id="HooshvareLab/bert-fa-zwnj-base",
104
- model_kwargs={"temperature": 0.7, "max_new_tokens": 512}
105
  )
106
 
107
  chain = RetrievalQA.from_chain_type(
 
98
 
99
  index = get_pdf_index()
100
 
101
+ llm = ChatOpenAI(
102
+ base_url="https://api.together.xyz/v1",
103
+ api_key='0291f33aee03412a47fa5d8e562e515182dcc5d9aac5a7fb5eefdd1759005979',
104
+ model="meta-llama/Llama-3.3-70B-Instruct-Turbo-Free"
105
  )
106
 
107
  chain = RetrievalQA.from_chain_type(