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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,6 +7,7 @@ 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)['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()
 
7
  llm = Llama(model_path="./ggjt-model.bin")
8
 
9
  def chat(input):
10
+ resp = llm(input)
11
+ return resp['text']
12
 
13
  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()