Spaces:
Sleeping
Sleeping
michelebasilico
commited on
Commit
•
3526238
1
Parent(s):
ce8c297
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def predict(message, history):
|
|
28 |
new_message = start_token + start_instruction_token + system_prompt + message + end_instruction_token + start_completion
|
29 |
print(new_message)
|
30 |
output = query({
|
31 |
-
"inputs":
|
32 |
"parameters": {
|
33 |
"temperature": 0.9,
|
34 |
"max_new_tokens": 512,
|
|
|
28 |
new_message = start_token + start_instruction_token + system_prompt + message + end_instruction_token + start_completion
|
29 |
print(new_message)
|
30 |
output = query({
|
31 |
+
"inputs": new_message,
|
32 |
"parameters": {
|
33 |
"temperature": 0.9,
|
34 |
"max_new_tokens": 512,
|