Monster commited on
Commit
7c57a39
·
1 Parent(s): b0b708d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,6 +7,6 @@ hf_hub_download(repo_id="LLukas22/gpt4all-lora-quantized-ggjt", filename="ggjt-m
7
  llm = Llama(model_path="./ggjt-model.bin")
8
 
9
  def chat(input):
10
- return llm(input)
11
 
12
  gr.Interface(fn=chat, inputs="text", outputs="text", description="Assistant-style large language model with ~800k GPT-3.5-Turbo Generations", examples=[['What is a three word topic describing the following keywords: baseball, football, soccer'],['List 10 dogs.'],['Reverse a string in python.']]).launch()
 
7
  llm = Llama(model_path="./ggjt-model.bin")
8
 
9
  def chat(input):
10
+ return llm(input)['text']
11
 
12
  gr.Interface(fn=chat, inputs="text", outputs="text", description="Assistant-style large language model with ~800k GPT-3.5-Turbo Generations", examples=[['What is a three word topic describing the following keywords: baseball, football, soccer'],['List 10 dogs.'],['Reverse a string in python.']]).launch()