alexkueck commited on
Commit
1968e21
1 Parent(s): f690218

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -479,7 +479,7 @@ def generate_text (prompt, chatbot, history, rag_option, model_option, openai_ap
479
  raise gr.Error("Prompt ist erforderlich.")
480
 
481
  #Prompt an history anhängen und einen Text daraus machen
482
- history_text_und_prompt = generate_prompt_with_history(prompt, history)
483
  print("hist_text...................")
484
  print(history_text_und_prompt)
485
  #history für HuggingFace Models formatieren
 
479
  raise gr.Error("Prompt ist erforderlich.")
480
 
481
  #Prompt an history anhängen und einen Text daraus machen
482
+ history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
483
  print("hist_text...................")
484
  print(history_text_und_prompt)
485
  #history für HuggingFace Models formatieren