jost commited on
Commit
2913e78
·
verified ·
1 Parent(s): f161df7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def predict(
76
  contexts = [context for context in retrieved_context['documents']]
77
  rag_template = f"\nHier sind Kontextinformationen:\n" + "\n".join([f"{context}" for context in contexts])
78
 
79
- prompt = prompt_template.format(impersonation_template=impersonation_template, answer_option_template=answer_option_template, statementpolitical_statement[3:], rag_template=rag_template)
80
  print(prompt)
81
 
82
  else:
 
76
  contexts = [context for context in retrieved_context['documents']]
77
  rag_template = f"\nHier sind Kontextinformationen:\n" + "\n".join([f"{context}" for context in contexts])
78
 
79
+ prompt = prompt_template.format(impersonation_template=impersonation_template, answer_option_template=answer_option_template, statement=political_statement[3:], rag_template=rag_template)
80
  print(prompt)
81
 
82
  else: