Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -520,7 +520,7 @@ def generate_text_zu_bild(file, prompt, k, rag_option):
|
|
520 |
#für Chat LLM:
|
521 |
#prompt = generate_prompt_with_history_openai(neu_text_mit_chunks, history)
|
522 |
#als reiner prompt:
|
523 |
-
prompt_neu =
|
524 |
print("hier................................")
|
525 |
print(prompt_neu)
|
526 |
headers, payload = process_image(file, prompt_neu)
|
|
|
520 |
#für Chat LLM:
|
521 |
#prompt = generate_prompt_with_history_openai(neu_text_mit_chunks, history)
|
522 |
#als reiner prompt:
|
523 |
+
prompt_neu = generate_prompt_with_history_openai(neu_text_mit_chunks, history)
|
524 |
print("hier................................")
|
525 |
print(prompt_neu)
|
526 |
headers, payload = process_image(file, prompt_neu)
|