Update app.py
Browse files
app.py
CHANGED
|
@@ -479,7 +479,7 @@ def generate_text (prompt, chatbot, history, rag_option, model_option, openai_ap
|
|
| 479 |
raise gr.Error("Prompt ist erforderlich.")
|
| 480 |
|
| 481 |
#Prompt an history anhängen und einen Text daraus machen
|
| 482 |
-
history_text_und_prompt =
|
| 483 |
print("hist_text...................")
|
| 484 |
print(history_text_und_prompt)
|
| 485 |
#history für HuggingFace Models formatieren
|
|
|
|
| 479 |
raise gr.Error("Prompt ist erforderlich.")
|
| 480 |
|
| 481 |
#Prompt an history anhängen und einen Text daraus machen
|
| 482 |
+
history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
|
| 483 |
print("hist_text...................")
|
| 484 |
print(history_text_und_prompt)
|
| 485 |
#history für HuggingFace Models formatieren
|