alexkueck commited on
Commit
3808ee2
1 Parent(s): 9f47996

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -456,10 +456,9 @@ def generate_text (prompt, file, chatbot, history, rag_option, model_option, ope
456
  history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
457
  else:
458
  prompt_neu = process_image(file, prompt)
459
- print("prompt neu.................")
460
- print(prompt_neu)
461
- history_text_und_prompt = prompt_neu #generate_prompt_with_history_openai(prompt_neu, history)
462
-
463
  #history für HuggingFace Models formatieren
464
  #history_text_und_prompt = generate_prompt_with_history_hf(prompt, history)
465
  #history für openAi formatieren
 
456
  history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
457
  else:
458
  prompt_neu = process_image(file, prompt)
459
+ history_text_und_prompt = generate_prompt_with_history_openai(prompt_neu, history)
460
+ print("historyundtextundfile.................")
461
+ print(history_text_und_prompt)
 
462
  #history für HuggingFace Models formatieren
463
  #history_text_und_prompt = generate_prompt_with_history_hf(prompt, history)
464
  #history für openAi formatieren