Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,7 @@ top_p=0.95
|
|
22 |
repetition_penalty=1.0
|
23 |
|
24 |
def compress_history(history,temperature=temperature,top_p=top_p,repetition_penalty=repetition_penalty):
|
|
|
25 |
formatted_prompt=f"{COMPRESS_HISTORY.format(history=history)}"
|
26 |
generate_kwargs = dict(
|
27 |
temperature=temperature,
|
|
|
22 |
repetition_penalty=1.0
|
23 |
|
24 |
def compress_history(history,temperature=temperature,top_p=top_p,repetition_penalty=repetition_penalty):
|
25 |
+
print("COMPRESSING")
|
26 |
formatted_prompt=f"{COMPRESS_HISTORY.format(history=history)}"
|
27 |
generate_kwargs = dict(
|
28 |
temperature=temperature,
|