Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def question_answer(context, question):
|
|
23 |
llm = Llama(model_path=mfile)
|
24 |
output = llm(text, max_tokens=33, stop=["### Response"], echo=True)
|
25 |
print(output)
|
26 |
-
return output['choices'][0]['text']
|
27 |
'''
|
28 |
Output is of the form:
|
29 |
{
|
|
|
23 |
llm = Llama(model_path=mfile)
|
24 |
output = llm(text, max_tokens=33, stop=["### Response"], echo=True)
|
25 |
print(output)
|
26 |
+
return question,output['choices'][0]['text']
|
27 |
'''
|
28 |
Output is of the form:
|
29 |
{
|