Spaces:
Sleeping
Sleeping
Commit
•
6ba5195
1
Parent(s):
9bb1d67
Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ def format_prompt(
|
|
129 |
@spaces.GPU
|
130 |
def generate(
|
131 |
message: str,
|
132 |
-
|
133 |
max_new_tokens: int = 2048,
|
134 |
temperature: float = 0.6,
|
135 |
top_p: float = 0.9,
|
|
|
129 |
@spaces.GPU
|
130 |
def generate(
|
131 |
message: str,
|
132 |
+
history: list,
|
133 |
max_new_tokens: int = 2048,
|
134 |
temperature: float = 0.6,
|
135 |
top_p: float = 0.9,
|