Update app.py
Browse files
app.py
CHANGED
@@ -456,7 +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 |
-
|
|
|
|
|
460 |
|
461 |
#history für HuggingFace Models formatieren
|
462 |
#history_text_und_prompt = generate_prompt_with_history_hf(prompt, history)
|
|
|
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)
|