alexkueck commited on
Commit
73bad5b
1 Parent(s): 8f3c4e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ def invoke (prompt, history, openai_api_key, rag_option, temperature=0.9, max_ne
165
  global splittet
166
 
167
  #Prompt an history anhängen
168
- history[-1][0] = prompt
169
  #history = history +[(prompt, None)]
170
 
171
  if (openai_api_key == "" or openai_api_key == "sk-"):
 
165
  global splittet
166
 
167
  #Prompt an history anhängen
168
+ history.append([prompt,None])
169
  #history = history +[(prompt, None)]
170
 
171
  if (openai_api_key == "" or openai_api_key == "sk-"):