Spaces:
Sleeping
Sleeping
Olivier-Truong
commited on
Commit
·
e180086
1
Parent(s):
e8acca3
Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,8 @@ def generate(
|
|
31 |
seed=42,
|
32 |
)
|
33 |
|
|
|
|
|
34 |
formatted_prompt = format_prompt(prompt, history)
|
35 |
|
36 |
stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
|
|
31 |
seed=42,
|
32 |
)
|
33 |
|
34 |
+
print(prompt, history)
|
35 |
+
|
36 |
formatted_prompt = format_prompt(prompt, history)
|
37 |
|
38 |
stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
|