Spaces:
Paused
Paused
Update model.py
Browse files
model.py
CHANGED
@@ -24,5 +24,5 @@ async def get_answer_from_llm(question: str = None):
|
|
24 |
temperature=0.3,
|
25 |
)
|
26 |
|
27 |
-
gen_text =
|
28 |
return gen_text
|
|
|
24 |
temperature=0.3,
|
25 |
)
|
26 |
|
27 |
+
gen_text = tokenizer.decode(gen_tokens[0])
|
28 |
return gen_text
|