DeepVen commited on
Commit
92cbd75
·
1 Parent(s): a953553

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -32,7 +32,7 @@ def generate(text: str):
32
  llama2 q4 backend
33
  """
34
  output = llm(text)
35
- return {"output": output[0]["generated_text"]}
36
 
37
 
38
  def prompt(question):
 
32
  llama2 q4 backend
33
  """
34
  output = llm(text)
35
+ return {"output": output}
36
 
37
 
38
  def prompt(question):