Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def reply(message: str, history: list[str]) -> str:
|
|
77 |
# Preprocess message
|
78 |
|
79 |
pipe = transformers.pipeline(
|
80 |
-
"
|
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)
|