Spaces:
Runtime error
Runtime error
Antoine Chaffin
commited on
Commit
•
1e2d20c
1
Parent(s):
0d2f4e3
Fixing comma
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ If a question does not make any sense, or is not factually coherent, explain why
|
|
37 |
"""
|
38 |
LEN_DEFAULT_PROMPT = len(tokenizer.encode(DEFAULT_SYSTEM_PROMPT))
|
39 |
def embed(user, max_length, window_size, method, prompt):
|
40 |
-
print("prompt:" prompt)
|
41 |
uid = USERS.index(user)
|
42 |
watermarker = Watermarker(tokenizer=tokenizer, model=model, window_size=window_size, payload_bits=PAYLOAD_BITS)
|
43 |
prompt = get_prompt(prompt)
|
|
|
37 |
"""
|
38 |
LEN_DEFAULT_PROMPT = len(tokenizer.encode(DEFAULT_SYSTEM_PROMPT))
|
39 |
def embed(user, max_length, window_size, method, prompt):
|
40 |
+
print("prompt:", prompt)
|
41 |
uid = USERS.index(user)
|
42 |
watermarker = Watermarker(tokenizer=tokenizer, model=model, window_size=window_size, payload_bits=PAYLOAD_BITS)
|
43 |
prompt = get_prompt(prompt)
|