ccm commited on
Commit
9cdb1a5
·
verified ·
1 Parent(s): c450b02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def reply(message: str, history: list[str]) -> str:
77
  # Preprocess message
78
 
79
  pipe = transformers.pipeline(
80
- "text2text-generation", model="Qwen/Qwen2.5-7B-Instruct", device="cuda"
81
  )
82
 
83
  message = preprocess(message, PUBLICATIONS_TO_RETRIEVE)
 
77
  # Preprocess message
78
 
79
  pipe = transformers.pipeline(
80
+ "text-generation", model="Qwen/Qwen2.5-7B-Instruct", device="cuda"
81
  )
82
 
83
  message = preprocess(message, PUBLICATIONS_TO_RETRIEVE)