Update app.py
Browse files
app.py
CHANGED
@@ -432,7 +432,7 @@ def generate_text (prompt, file, history, rag_option, model_option, openai_api_k
|
|
432 |
|
433 |
#Prompt an history anhängen und einen Text daraus machen
|
434 |
if (file == None):
|
435 |
-
history_text_und_prompt =
|
436 |
else:
|
437 |
history_file_und_prompt = generate_prompt_with_history(prompt, file, history)
|
438 |
|
|
|
432 |
|
433 |
#Prompt an history anhängen und einen Text daraus machen
|
434 |
if (file == None):
|
435 |
+
history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
|
436 |
else:
|
437 |
history_file_und_prompt = generate_prompt_with_history(prompt, file, history)
|
438 |
|