Spaces:
Running
Running
AFischer1985
commited on
Commit
•
aeaa8d2
1
Parent(s):
8fc985b
Update run.py
Browse files
run.py
CHANGED
@@ -176,10 +176,12 @@ def multimodalResponse(message,history,dropdown):
|
|
176 |
do_sample=True,
|
177 |
seed=42,
|
178 |
)
|
179 |
-
system="
|
180 |
-
"
|
181 |
-
"
|
182 |
-
"
|
|
|
|
|
183 |
str(context)
|
184 |
print(system)
|
185 |
formatted_prompt = format_prompt(system+"\n"+query, history)
|
|
|
176 |
do_sample=True,
|
177 |
seed=42,
|
178 |
)
|
179 |
+
system="Mit Blick auf das folgende Gespräch und den relevanten Kontext, antworte auf die aktuelle Frage des Nutzers."+\
|
180 |
+
"Antworte ausschließlich auf Baisis der Informationen im Kontext.\n\nKontext:"+\
|
181 |
+
#"Given the following conversation, relevant context, and a follow up question, "+\
|
182 |
+
#"reply with an answer to the current question the user is asking. "+\
|
183 |
+
#"Return only your response to the question given the above information "+\
|
184 |
+
#"following the users instructions as needed.\n\nContext:"+\
|
185 |
str(context)
|
186 |
print(system)
|
187 |
formatted_prompt = format_prompt(system+"\n"+query, history)
|