Spaces:
Runtime error
Runtime error
Commit
·
00d1f95
1
Parent(s):
57817e9
Update run.py
Browse files
run.py
CHANGED
@@ -24,7 +24,7 @@ def response(message, history, model):
|
|
24 |
body={"prompt":"###Frage: "+message+" ###Antwort:","max_tokens":1000,"stop":"###","stream":True}
|
25 |
if(prompt_type!="Alpaca"):
|
26 |
body={"prompt":"""<|im_start|>system
|
27 |
-
|
28 |
<|im_start|>user
|
29 |
"""+message+"""<|im_end|>
|
30 |
<|im_start|>assistant
|
|
|
24 |
body={"prompt":"###Frage: "+message+" ###Antwort:","max_tokens":1000,"stop":"###","stream":True}
|
25 |
if(prompt_type!="Alpaca"):
|
26 |
body={"prompt":"""<|im_start|>system
|
27 |
+
You are a helpful AI-Assistant.<|im_end|>
|
28 |
<|im_start|>user
|
29 |
"""+message+"""<|im_end|>
|
30 |
<|im_start|>assistant
|