yxmauw commited on
Commit
8d5d779
·
verified ·
1 Parent(s): 2cb3e7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def model_choices():
14
  model_description = {model['filename']: model['description'] for model in data_json}
15
 
16
  def llm_intro(selected_model):
17
- return llm_explanations.get(selected_model, "No description available for this model selection.")
18
 
19
  def generate_text(input_text, selected_model):
20
  model = GPT4All(selected_model)
 
14
  model_description = {model['filename']: model['description'] for model in data_json}
15
 
16
  def llm_intro(selected_model):
17
+ return model_description.get(selected_model, "No description available for this model selection.")
18
 
19
  def generate_text(input_text, selected_model):
20
  model = GPT4All(selected_model)