2045max commited on
Commit
9eff4e9
·
verified ·
1 Parent(s): e9be0e7

fix: switch to Qwen2.5-72B-Instruct (7B not available on free inference API)

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,9 +35,9 @@ USER_PROMPT_TEMPLATE = """【参考资料】
35
  请基于资料用自然语言回答。"""
36
 
37
  client = InferenceClient(
38
- model="Qwen/Qwen2.5-7B-Instruct",
39
  token=os.environ.get("HF_TOKEN"),
40
- timeout=15,
41
  )
42
 
43
 
 
35
  请基于资料用自然语言回答。"""
36
 
37
  client = InferenceClient(
38
+ model="Qwen/Qwen2.5-72B-Instruct",
39
  token=os.environ.get("HF_TOKEN"),
40
+ timeout=20,
41
  )
42
 
43