Update app.py
Browse files
app.py
CHANGED
@@ -435,6 +435,7 @@ def generate_text (prompt, file, history, rag_option, model_option, openai_api_k
|
|
435 |
history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
|
436 |
else:
|
437 |
prompt_neu = prompt + file.name, #b64encode(file).decode("utf-8")
|
|
|
438 |
history_text_und_prompt = generate_prompt_with_history_openai(prompt_neu, history)
|
439 |
|
440 |
#history für HuggingFace Models formatieren
|
|
|
435 |
history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
|
436 |
else:
|
437 |
prompt_neu = prompt + file.name, #b64encode(file).decode("utf-8")
|
438 |
+
print(prompt_neu)
|
439 |
history_text_und_prompt = generate_prompt_with_history_openai(prompt_neu, history)
|
440 |
|
441 |
#history für HuggingFace Models formatieren
|