alexkueck commited on
Commit
bfb4d89
1 Parent(s): a31c17a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -276,6 +276,9 @@ def generate_auswahl(prompt, file, file_history, chatbot, history, rag_option, m
276
  #aber nur, wenn es noch nicht geshehen ist (splittet = False)
277
  #falls schon ein File hochgeladen wurde, ist es in history_file gespeichert - falls ein neues File hochgeladen wurde, wird es anschließend neu gesetzt
278
  neu_file = file_history
 
 
 
279
 
280
  if (rag_option == "An"):
281
  #muss nur einmal ausgeführt werden...
 
276
  #aber nur, wenn es noch nicht geshehen ist (splittet = False)
277
  #falls schon ein File hochgeladen wurde, ist es in history_file gespeichert - falls ein neues File hochgeladen wurde, wird es anschließend neu gesetzt
278
  neu_file = file_history
279
+
280
+ #prompt normalisieren bevor er an die KIs geht
281
+ prompt = normalise_prompt(prompt_in)
282
 
283
  if (rag_option == "An"):
284
  #muss nur einmal ausgeführt werden...