kenghuoxiong commited on
Commit
7b51a06
1 Parent(s): 44f203a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -21,13 +21,13 @@ client = InferenceClient("Qwen/Qwen2-7B-Instruct")
21
  # model="Qwen/Qwen2-7B-Instruct",
22
  # temperature=0.8,)
23
 
24
- qa = RetrievalQA.from_chain_type(
25
- llm=client,
26
- chain_type="stuff",
27
- retriever=retriever,
28
- chain_type_kwargs=chain_type_kwargs,
29
- return_source_documents=True
30
- )
31
 
32
 
33
  def respond(
 
21
  # model="Qwen/Qwen2-7B-Instruct",
22
  # temperature=0.8,)
23
 
24
+ # qa = RetrievalQA.from_chain_type(
25
+ # llm=client,
26
+ # chain_type="stuff",
27
+ # retriever=retriever,
28
+ # chain_type_kwargs=chain_type_kwargs,
29
+ # return_source_documents=True
30
+ # )
31
 
32
 
33
  def respond(