alexkueck commited on
Commit
b571b45
1 Parent(s): 47a5e53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -225,7 +225,7 @@ def invoke (prompt, history, openai_api_key, rag_option, temperature=0.9, max_ne
225
  global splittet
226
 
227
  #Prompt an history anhängen und einen Text daraus machen
228
- #history_text_und_prompt = generate_prompt_with_history(prompt, history)
229
 
230
  #history für HuggingFace Models formatieren
231
  #history_text_und_prompt = generate_prompt_with_history_hf(prompt, history)
@@ -234,7 +234,7 @@ def invoke (prompt, history, openai_api_key, rag_option, temperature=0.9, max_ne
234
  #history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
235
 
236
  #history für Langchain formatieren
237
- history_text_und_prompt = generate_prompt_with_history_langchain(prompt, history)
238
 
239
  if (openai_api_key == "" or openai_api_key == "sk-"):
240
  #raise gr.Error("OpenAI API Key is required.")
 
225
  global splittet
226
 
227
  #Prompt an history anhängen und einen Text daraus machen
228
+ history_text_und_prompt = generate_prompt_with_history(prompt, history)
229
 
230
  #history für HuggingFace Models formatieren
231
  #history_text_und_prompt = generate_prompt_with_history_hf(prompt, history)
 
234
  #history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
235
 
236
  #history für Langchain formatieren
237
+ #history_text_und_prompt = generate_prompt_with_history_langchain(prompt, history)
238
 
239
  if (openai_api_key == "" or openai_api_key == "sk-"):
240
  #raise gr.Error("OpenAI API Key is required.")