alexkueck commited on
Commit
6e7b117
1 Parent(s): 5dc29f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -454,7 +454,8 @@ def generate_text (prompt, chatbot, history, rag_option, model_option, openai_ap
454
  else:
455
  splittet = False
456
  print("LLM aufrufen ohne RAG: ...........")
457
- result = llm_chain(llm, history_text_und_prompt)
 
458
  print("result llm ohne rag:...................")
459
  print(result)
460
  print("result ende .......................")
 
454
  else:
455
  splittet = False
456
  print("LLM aufrufen ohne RAG: ...........")
457
+ resulti = llm_chain(llm, history_text_und_prompt)
458
+ result = resulti.strip()
459
  print("result llm ohne rag:...................")
460
  print(result)
461
  print("result ende .......................")