Update app.py
Browse files
app.py
CHANGED
@@ -280,10 +280,10 @@ def invoke (prompt, history, rag_option, model_option, openai_api_key, temperat
|
|
280 |
global splittet
|
281 |
print(splittet)
|
282 |
#Prompt an history anhängen und einen Text daraus machen
|
283 |
-
history_text_und_prompt = generate_prompt_with_history(prompt, history)
|
284 |
|
285 |
#history für HuggingFace Models formatieren
|
286 |
-
|
287 |
|
288 |
#history für openAi formatieren
|
289 |
#history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
|
|
|
280 |
global splittet
|
281 |
print(splittet)
|
282 |
#Prompt an history anhängen und einen Text daraus machen
|
283 |
+
#history_text_und_prompt = generate_prompt_with_history(prompt, history)
|
284 |
|
285 |
#history für HuggingFace Models formatieren
|
286 |
+
history_text_und_prompt = generate_prompt_with_history_hf(prompt, history)
|
287 |
|
288 |
#history für openAi formatieren
|
289 |
#history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
|