Omnibus commited on
Commit
b966427
·
verified ·
1 Parent(s): 75cc7f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -135,7 +135,7 @@ def generate(prompt, history,max_new_tokens,health,temperature=temperature,top_p
135
  skills.append(skill_dict)
136
  new_stat+="*******************\n"
137
  stats=new_stat
138
- option_drop=gr.Dropdown(label="Choices", choices=[e for e in option_drop])
139
 
140
  if history:
141
  history.append((prompt,output))
 
135
  skills.append(skill_dict)
136
  new_stat+="*******************\n"
137
  stats=new_stat
138
+ option_drop=gr.Dropdown(label="Choices", choices=[e for e in opts])
139
 
140
  if history:
141
  history.append((prompt,output))