Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -512,7 +512,7 @@ def generate_text (prompt, chatbot, history, rag_option, model_option, openai_ap
|
|
| 512 |
print("Suche im Netz: ...........")
|
| 513 |
suche_im_Netz="Antwort aus dem Internet ..."
|
| 514 |
#Prompt an history anhängen und einen Text daraus machen
|
| 515 |
-
history_text_und_prompt =
|
| 516 |
#if (hugchat):
|
| 517 |
#mit hugchat
|
| 518 |
#result = create_assistant_suche_hf(llm, history_text_und_prompt)
|
|
|
|
| 512 |
print("Suche im Netz: ...........")
|
| 513 |
suche_im_Netz="Antwort aus dem Internet ..."
|
| 514 |
#Prompt an history anhängen und einen Text daraus machen
|
| 515 |
+
history_text_und_prompt = generate_prompt_with_history(prompt, history)
|
| 516 |
#if (hugchat):
|
| 517 |
#mit hugchat
|
| 518 |
#result = create_assistant_suche_hf(llm, history_text_und_prompt)
|