Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,7 @@ model.eval()
|
|
28 |
@spaces.GPU(duration=90)
|
29 |
def generate(
|
30 |
message: str,
|
|
|
31 |
max_new_tokens: int = 1024,
|
32 |
do_sample: bool = False,
|
33 |
temperature: float = 0.6,
|
|
|
28 |
@spaces.GPU(duration=90)
|
29 |
def generate(
|
30 |
message: str,
|
31 |
+
chat_history: list[dict],
|
32 |
max_new_tokens: int = 1024,
|
33 |
do_sample: bool = False,
|
34 |
temperature: float = 0.6,
|